yedit icon indicating copy to clipboard operation
yedit copied to clipboard

Folding in source code

Open maherm opened this issue 9 years ago • 4 comments

It is possible to fold the entries in the outline view, it would be very useful if this would be possible in the source code, too (like e.g. in xml files).

maherm avatar May 07 '15 13:05 maherm

It should be doable. I don't know when I will have the time to look into it though. Pull requests are very welcome :)

oyse avatar May 27 '15 18:05 oyse

Not a very constructive comment, but this feature would be a huge plus for YEdit. Without it, I would rather use another text editor that allow code folding.

Since the Outline is able to recognize the YAML sections, I guess the code folding would be pretty straightforward.

nowox avatar Sep 28 '15 12:09 nowox

I have mostly working code for this in a branch. All the wiring in Eclipse is done, but there is a problem in how the underlying parser (SnakeYAML) reports end postion for elements. I havn't had any time to look more into it yet unfortunatly.

If you are up for looking into it I can explain the problem in more detail.

oyse avatar Sep 28 '15 13:09 oyse

Any news on this issue?

I noticed the JSON editor for Eclipse supports outline and folding (https://github.com/boothen/Json-Eclipse-Plugin). Could it be a good source of inspiration?

nowox avatar Feb 02 '17 12:02 nowox