Bug 222946

Summary: [misc] add support for indentation guides
Product: [Eclipse Project] Platform Reporter: Schnuff <heyeli>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: azerr, daniel_megert, eclipse, fabian.pfaff, gautier.desaintmartinlacaze, Lars.Vogel
Version: 3.4Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=566709
Whiteboard:

Description Schnuff CLA 2008-03-17 09:19:57 EDT
In many editors indentation guides are an exhibited feature and
they are used by a lot of programmers.
It is very useful in complex codes and makes it more transparent.

So is there an unconquerable technical problem, which makes it that hard to give that basic-functionality to the most supported editor at all?

It would be great, if this request would be considered for release of version 3.4

Thanks for your attention
Schnuff
Comment 1 Dani Megert CLA 2008-03-17 12:02:45 EDT
See also bug 84878.
Comment 2 Lars Vogel CLA 2017-11-22 10:18:23 EST

*** This bug has been marked as a duplicate of bug 84878 ***
Comment 3 Dani Megert CLA 2017-11-22 10:26:41 EST
While similar to bug 84878 it is not the same. We might build a framework in Text  but JDT will have more data to draw the lines than a normal text editor.
Comment 4 Lars Vogel CLA 2018-02-07 03:18:53 EST
Angelo, could we solve this with your new API? 

If yes, my team could try to implement this. Would you be available to coach me how to implement this / review Gerrit patches?
Comment 5 Angelo ZERR CLA 2018-02-07 03:27:19 EST
> Angelo, could we solve this with your new API? 

If I understand the need you wish to draw line indentation in vertical. The plugin http://sschaef.github.io/IndentGuide/ does that, no?

I think it's better to do that with the classic mean IPainter. The inlinined annotation painter is interesting if you wish to draw annotation which takes some place:

 * in the line header (height)
 * in the line content (width).
Comment 6 Lars Vogel CLA 2018-02-07 04:13:39 EST Comment hidden (obsolete)