码迷,mamicode.com
首页 > 其他好文 > 详细

Sublime text3修改tab键为缩进为四个空格

时间:2017-04-04 20:21:00      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:sed   save   菜单   insert   png   保存   height   user   nbsp   

1. 菜单栏里点击 Preferences-> Setting, 如图

技术分享

2. 在弹出来的Preferences.sublime-settings-User里,添加如下三行:

1     // The number of spaces a tab is considered equal to
2     "tab_size": 4,
3     // Set to true to insert spaces when tab is pressed
4     "translate_tabs_to_spaces": true,
5     //设置保存时自动转换
6     "expand_tabs_on_save": true

如下图所示,保存退出即可。

技术分享

 

Sublime text3修改tab键为缩进为四个空格

标签:sed   save   菜单   insert   png   保存   height   user   nbsp   

原文地址:http://www.cnblogs.com/honkly/p/6666091.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!