Sublime Text - ignore tab settings for specific file types

一曲冷凌霜 提交于 2020-01-11 13:03:07

问题


Is it possible to have Sublime Text 3 ignore the "translate_tabs_to_spaces" settings for specific file types (namely .tsv, .csv and .txt)?

Additionally, is it possible to have ST3 not translate tabs when pasting? eg, I might copy text from a .tsv and paste it into a new file. I want to preserve the tabs. Right now, this involves changing my preferences, pasting, then changing back those preferences.


回答1:


Unsure about the pasting, but you can set syntax specific settings by going to Preferences -> Settings - More -> Syntax Specific - User. You can also check out https://github.com/randy3k/SyntaxMgr



来源:https://stackoverflow.com/questions/23088628/sublime-text-ignore-tab-settings-for-specific-file-types

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!