一、显示折叠小三角

1、点击Sublime的Preferences->Setting-Default菜单,打开它的配置文件。

2、找到行

// Fold buttons are the triangles shown in the gutter to fold regions of text
"fold_buttons": true,

// Hides the fold buttons unless the mouse is over the gutter
"fade_fold_buttons": false,

 

*.不推荐你直接改它的默认配置文件,你可以在Setting-User里覆盖此变量值。

3、重启生效

 

二、折叠快捷键

Ctrl+Shift+[ 折叠代码
Ctrl+Shift+] 展开代码
Ctrl+KT 折叠属性
Ctrl+K0 展开所有

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-01-17
  • 2021-09-24
  • 2022-01-25
  • 2021-11-07
猜你喜欢
  • 2022-02-04
  • 2021-04-22
  • 2021-10-04
  • 2021-08-22
  • 2021-12-26
  • 2021-06-04
相关资源
相似解决方案