Lets say we have code like this:
//description 1
code block 1 {
..
..
}
//description 2
code block 2 {
..
..
}
In sublime text, how to show only the comments and hide all the code?
Lets say we have code like this:
//description 1
code block 1 {
..
..
}
//description 2
code block 2 {
..
..
}
In sublime text, how to show only the comments and hide all the code?
In a code like the one you've used as example, you can just "Fold All" the code.
Set the cursor outside any function then: Ctrl + K + Ctrl + 1
then you'll see only the comments and the function/struct signiatures (hidding the body).