sublime text保存时删除行尾空格

转载:https://www.cnblogs.com/passedbylove/p/4784426.html

打开sublime text,点击在Preferences, Settings-User打开的用户配置中加入以下一行:

“trim_trailing_white_space_on_save”: true
在这里插入图片描述

完整的配置如下

{
    
    
	"font_face": "微软雅黑",
	"font_size": 17,
	"ignored_packages":
	[
		"Vintage"
	],
	"trim_trailing_white_space_on_save": true

}

此功能在保存代码时自动应用于当前编辑的文件。

猜你喜欢

转载自blog.csdn.net/funnycoffee123/article/details/108662161
今日推荐