【发布时间】:2013-02-27 06:47:59
【问题描述】:
SublimeText 2 通常会打开文件,如果它在某些地方找到一些空格而不是制表符。
我说过要强制所有内容到 4 个选项卡。不要手动将我打开的每个文件都转换为选项卡(如How to replace four spaces with a tab in Sublime Text 2?)
有时我有一个制表符缩进为 4 个空格的文档,当我按下制表符时,它会写入 4 个空格!
"detect_indentation": false,
"translate_tabs_to_spaces": false
(执行 tab_completion=true 会有所帮助)
【问题讨论】:
标签: sublimetext2 indentation auto-indent