On the IDE Settings dialog select Editor. Make sure that "Show code folding outline" is checked as well as "JavaDoc comments" in the same "Code Folding" group.
That should automatically fold all JavaDoc comments.
If you want to fold all (non-JavaDoc) comments, I believe that you have to manually fold them by selecting the code to fold and typing:
Code folding is enhanced by the camouflage plugin, but I don't use it currently, so I'm not sure how you configure that.
Tim
Antonio Ballerini wrote:
How can i hide comments in code ?
It is even possible to do it while i'm editing and then come back to the 'normal' modality (with comments visible) ?
If I understand your statement correctly, that is one of the things that
the code folding functionality within IDEA does now.
Antonio Ballerini wrote:
How can i hide comments in code ?
It is even possible to do it while i'm editing and then
come back to the 'normal' modality (with comments visible) ?
Thanks in advance.
Maybe you can change the comments color to white on white. Then you can
use "quick switch schemes".
BoD
Antonio Ballerini wrote:
On the IDE Settings dialog select Editor. Make sure that "Show code
folding outline" is checked as well as "JavaDoc comments" in the same
"Code Folding" group.
That should automatically fold all JavaDoc comments.
If you want to fold all (non-JavaDoc) comments, I believe that you have
to manually fold them by selecting the code to fold and typing:
Code folding is enhanced by the camouflage plugin, but I don't use it
currently, so I'm not sure how you configure that.
Tim
Antonio Ballerini wrote: