Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folding in source code #21

Open
maherm opened this issue May 7, 2015 · 4 comments
Open

Folding in source code #21

maherm opened this issue May 7, 2015 · 4 comments

Comments

@maherm
Copy link

maherm commented May 7, 2015

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).

@oyse
Copy link
Owner

oyse commented May 27, 2015

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

@nowox
Copy link

nowox commented Sep 28, 2015

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.

@oyse
Copy link
Owner

oyse commented Sep 28, 2015

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.

@nowox
Copy link

nowox commented Feb 2, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants