Bug 222946 - [misc] add support for indentation guides
Summary: [misc] add support for indentation guides
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P5 enhancement with 9 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-03-17 09:19 EDT by Schnuff CLA
Modified: 2020-09-11 10:17 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)