问题描述
是否可以让 Sublime Text 3 忽略特定文件类型(即 .tsv
、.csv
和.txt
)?
Is it possible to have Sublime Text 3 ignore the "translate_tabs_to_spaces"
settings for specific file types (namely .tsv
, .csv
and .txt
)?
另外,是否有可能在粘贴时让 ST3 不翻译标签?例如,我可能会从 .tsv 复制文本并将其粘贴到新文件中.我想保留标签.现在,这涉及更改我的偏好、粘贴,然后更改回这些偏好.
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.
推荐答案
不确定是否粘贴,但您可以通过转到 Preferences -> 来设置特定于语法的设置设置 - 更多 ->语法特定 - 用户
.您还可以查看 https://github.com/randy3k/SyntaxMgr
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
这篇关于Sublime Text - 忽略特定文件类型的选项卡设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!