Sublime Text: How to hide all code and show only comments

Let's say we have a code like this:

//description 1 code block 1 { .. .. } //description 2 code block 2 { .. .. } 

In sublime text, how to show only comments and hide all code?

+6
source share
1 answer

In code similar to the one you used as an example, you can simply β€œAdd all” the code.

Place the cursor outside any function: Ctrl + K + Ctrl + 1

then you will see only comments and function / structure icons (hide the body).

+8
source

Source: https://habr.com/ru/post/951861/


All Articles