Sublime text3修改tab键为缩进为四个空格,
视图->缩进中:转化为空格缩进可以将文本的tab变为空格;使用空格缩进即使按tab也会自动转化为空格,但是每打开文件都要重新设置很不开心,
https://www.cnblogs.com/honkly/p/6666091.html
设置中添加
{ // The number of spaces a tab is considered equal to "tab_size": 4, // Set to true to insert spaces when tab is pressed "translate_tabs_to_spaces": true, //设置保存时自动转换 "expand_tabs_on_save": true, }