honkly

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

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

 

分类:

技术点:

相关文章:

  • 2021-09-09
  • 2021-12-23
  • 2021-11-09
  • 2022-01-01
  • 2022-12-23
  • 2021-10-09
  • 2022-03-05
  • 2021-08-15
猜你喜欢
  • 2021-05-03
  • 2021-09-13
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
相关资源
相似解决方案