我一直在寻找解决这个问题的方法!当我在Sublime Text 3(也是2)中打开文件(html,js,css)时,所有先前的文件缩进都搞乱了,其中有空格和缩进的混合。
我使用的存储库使用硬标签。
继承我的过程 - >
我修改了我的sublime设置以尝试解决此问题... 他们是
{
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme",
"disable_formatted_linebreak": true,
"flatland_sidebar_tree_large": true,
"flatland_square_tabs": true,
"font_face" : "Source Code Pro",
"font_options":
[
"no_bold",
"subpixel_antialias"
],
"font_size": 14,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 2,
"line_padding_top": 2,
"scroll_speed": 0.2,
"tab_size": 4,
"theme": "Flatland Dark.sublime-theme",
"translate_tabs_to_spaces": false,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"detect_indentation": false,
"word_wrap": "true"
}
如果您想查看问题的屏幕截图,请询问,由于某种原因我还不允许发布图片!