I have written a lot of javadoc
comments in my class and each function has a large description. When I open the class it is inconvenient to scroll down with all those comments in place.
Is there any shortcut for folding all the comments? I tried with Ctrl+Shift+/ it didn't work :(.
Edit: Most of the keyboard shortcuts don't work if there is any error in the workspace. I have no errors.
For those (like me) who came here looking for comment folding in C++ CDT, there is another option:
Window -> Preferences -> C/C++ -> Editor -> Folding I checked "Comments" under "Initially fold these region types"
This will collapse all comments by default when you open a file in CDT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With