Sublime代碼折疊


一、顯示折疊小三角

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 展開所有

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM