如果我有这个示例代码:
function foo()
{
var bar = 1;
var foo = 1;
// These two lines will be indented on save,
// however the following line will have it's indention removed:
return foo + bar;
}
Run Code Online (Sandbox Code Playgroud)
如何让 Sublime Text 2 停止删除仅包含空格的行上的缩进?
如果可能,我仍然希望它从包含空格以外的其他字符的行中删除它。
Tyi*_*ilo 12
我发现该设置trim_automatic_white_space
可以false
解决我的问题。
但是在启用时它不起作用trim_trailing_white_space_on_save
。
归档时间: |
|
查看次数: |
3090 次 |
最近记录: |