Does anyone know if it would be possible to hide java comments in Eclipse? Is there any trick I could try?
See Question&Answers more detail:osDoes anyone know if it would be possible to hide java comments in Eclipse? Is there any trick I could try?
See Question&Answers more detail:osYou can fold most block /* ... */
comments to a single line. You can't do that inside code blocks (method bodies, static blocks, etc.) and maybe a few other places. You also can't collapse multiple lines of // ...
style comments.
You could always change the syntax highlighting colors so the comments are in the background color. ;)
To turn on folding: Windows->Preferences->Java->Editor->Folding