Sublime text3修改tab键缩进


1.菜单栏中点击Preferences(首选项)->Setting-User

2. 添加如下三行代码:

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

3. 如下图,保存退出即可:


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM