4 comments
Comment actions Permalink

If I understand your statement correctly, that is one of the things that
the code folding functionality within IDEA does now.


Antonio Ballerini wrote:

A functionality that "hide comments from code"
can sometimes be useful I think.

keep on working !

by

0
Comment actions Permalink

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.

0
Comment actions Permalink

Maybe you can change the comments color to white on white. Then you can
use "quick switch schemes".

BoD


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.

1
Comment actions Permalink

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) ?

Thanks in advance.

0

Please sign in to leave a comment.