Bug 45504 - Syntax coloring profiles selectable by user.
Summary: Syntax coloring profiles selectable by user.
Status: RESOLVED DUPLICATE of bug 42074
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 10:01 EDT by Chris McLaren CLA
Modified: 2003-10-27 03:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris McLaren CLA 2003-10-24 10:01:11 EDT
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.
Comment 1 Douglas Pollock CLA 2003-10-24 10:16:00 EDT
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.
Comment 2 Chris McLaren CLA 2003-10-24 10:30:04 EDT
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..)
Comment 3 Dani Megert CLA 2003-10-27 03:14:48 EST
and collapse feature is bug 9355

*** This bug has been marked as a duplicate of 42074 ***