Community
Participate
Working Groups
Often, when working on unfamiliar code, or debugging something convoluted, I find javadoc comments very distracting. In this case, I go to the Java Editor, and tweak the colors to something very light (192+, 192+, 192+). (The fact that I have to tweak a number of places to change the color of all the parts of javadoc perhaps is another bug altogether) This change leaves the comments readable, but gives the visual effect of pushing them far into the background. The same could be done in the reverse with code, if you are concentrating on writing or proofreading javadoc; I've never really tried it because of all the different settings I'd have to change only to change them back. If there were multiple syntax coloring profiles (e.g. 'Normal', 'Javadoc in forefront', 'Source in forefront', etc,) and these could be selectable by command, (hence have assigned key sequences), I could quickly toggle between looking at my code through these different coloring 'lenses' depending on what I was doing at the time.
To expand, why not have an option to collapse blocks depending on activity? For example, while debugging, comments would "roll up" into a greyed item called "+Comments". Click the little expanding thing on the left, and they pop back into existence -- bright as ever. It would be even cooler if the comments visual "sunk" back into the page. Shrinking and greying out and become fuzzy. Like some weird variant of "expose" on the Mac. Clicking on them would bring them forward. Here I go again.... Ah, well.
i think the click-rollup thing has been around for a long time (not in eclipse :) - like 'sections' in that stupid email program we have to use - oh, i mean 'lotus notes'.. this feature is different than sections in that nothing is ever hidden, and the visible structure of the document doesn't change. (plus, i think this feature might be a lot easier on JDT-UI than adding 'sections' to documents, hence might have the possibility of being done in the short term) as for fuzziness or other visual effects, i believe styled text as a few other limitations to work out first, like two different fonts on the same line, as i recall :) (otherwise, i'd be asking to make use of bold and italics as part of syntax coloring - which is probably already logged as a pr somewhere..)
and collapse feature is bug 9355 *** This bug has been marked as a duplicate of 42074 ***