CMS*_*CSS 4 indentation sublimetext3
将以下内容添加到用户设置:
"smart_indent": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"use_tab_stops": true,
"word_wrap": false
将以下内容添加到特定于php的首选项:
"tab_size": 4,
"translate_tabs_to_spaces": true
该列表中唯一主动更改当前文件中所有缩进的命令是> Indentation > Convert Indentation to Spaces
.其他设置仅从"那一点"开始生效(即现有缩进将保持制表符,新创建的缩进将为空格).此外,请确保在选择后尝试运行该命令Indentation > Indent using spaces
,并且Tab Width 4
你能检查一下是否正在运行Convert Indentation to Spaces
,并且"draw_white_space": "all",
使用半透明点显示缩进?使用插入符号导航仍将"跳跃"4个空格.
只有我能想到的其他事情是它以某种方式成为只读文件.
无法评论,因为我的代表不到50.
归档时间: |
|
查看次数: |
1329 次 |
最近记录: |