Sublime Text - ignore tab settings for specific fi

2019-03-04 19:00发布

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条回答
戒情不戒烟
2楼-- · 2019-03-04 19:26

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

查看更多
登录 后发表回答