简体   繁体   中英

How can I setup tab size in Sublime text 2 for each file type?

例如,在* .asm文件中,我需要一个等于20个空格的制表符大小,在* .cpp文件中需要2个空格。

Open a .asm file in Sublime Text.

Then edit syntax specific settings with menu Preferences -> Settings - More -> Syntax Specific - User :

{
    "tab_size": 20
}

You can do the same with any other file type.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM