SublimeText3 Fold/Unfold all methods

后端 未结 4 1108
无人及你
无人及你 2021-02-04 23:55

I am using SublimeText3 for C++ and Java. I am wondering if there is a way to fold all of the methods in a file / class, and then unfold them all, regardless of where the caret

4条回答
  •  走了就别回头了
    2021-02-05 00:33

    More simple

    Select the code and press:

    Ctrl + Shift + [ to fold

    Ctrl + Shift + ] to unfold


    Updates

    You can also select an element. Exemple:

提交回复
热议问题