yedit
yedit copied to clipboard
Folding in source code
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).
It should be doable. I don't know when I will have the time to look into it though. Pull requests are very welcome :)
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.
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.
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?