Bug 69455 - [syntax highlighting] visualize code nesting
Summary: [syntax highlighting] visualize code nesting
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 76437 87686 237917 386972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-07 08:36 EDT by Stefan Lauchenauer CLA
Modified: 2012-08-14 12:06 EDT (History)
11 users (show)

See Also:


Attachments
An example of what I mean. (40.53 KB, image/jpeg)
2004-07-07 11:57 EDT, Stefan Lauchenauer CLA
no flags Details
example screenshot from upp ide (56.18 KB, image/png)
2006-03-29 08:23 EST, Ulf Schreiber CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Lauchenauer CLA 2004-07-07 08:36:26 EDT
It would be great if if/while/from (etc.) Blocks in the code would have
background colors for a quicker/better overview of the code.
Comment 1 Dani Megert CLA 2004-07-07 09:00:26 EDT
I see two feature requests here
1) allow to set background color for syntax colorings which is covered by bug 6712
2) offer syntax coloring for code blocks

Since 1) is covered I adapted the summary.
Comment 2 Stefan Lauchenauer CLA 2004-07-07 11:57:36 EDT
Created attachment 13015 [details]
An example of what I mean.

To make my point a little clearer I added this attachment.
Comment 3 Dani Megert CLA 2004-07-07 12:04:13 EDT
I misunderstood you. You are asking for a feature that visualizes the code
nesting i.e. different levels use different color.

Adapting summary again.
Comment 4 Dani Megert CLA 2004-10-18 05:13:07 EDT
*** Bug 76437 has been marked as a duplicate of this bug. ***
Comment 5 Dani Megert CLA 2005-03-14 12:06:15 EST
*** Bug 87686 has been marked as a duplicate of this bug. ***
Comment 6 Ulf Schreiber CLA 2006-03-29 08:23:22 EST
Created attachment 37194 [details]
example screenshot from upp ide

the people from http://upp.sourceforge.net/ seem to use this scheme for their c++ ide, and i think it looks very good. 

(it's not so much about the actual text having a background color but the striped indentation whitespace providing vertical guidelines for the eyes to follow)

now if only the syntax highlighting had access to the background color...
Comment 7 Per Lauge Holst CLA 2008-07-03 06:57:04 EDT
*** Bug 237917 has been marked as a duplicate of this bug. ***
Comment 8 Dani Megert CLA 2012-08-13 05:39:34 EDT
*** Bug 386972 has been marked as a duplicate of this bug. ***
Comment 9 Paul Benedict CLA 2012-08-14 12:04:00 EDT
Does Eclipse really need to support both background colors and vertical line drawing (bug 84878)?
Comment 10 Dani Megert CLA 2012-08-14 12:06:38 EDT
(In reply to comment #9)
> Does Eclipse really need to support both background colors and vertical line
> drawing (bug 84878)?

Right, we would probably only implement one of them.