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

Comments starting at beginning of line break folding #109

Open
alexmarinn opened this issue Dec 8, 2021 · 3 comments
Open

Comments starting at beginning of line break folding #109

alexmarinn opened this issue Dec 8, 2021 · 3 comments

Comments

@alexmarinn
Copy link

items:
    - part_no:   A4786
      descrip:   Water Bucket (Filled)
# This comment breaks folding - folding starts on this line instead of the "items" line above
      price:     1.47
      quantity:  4
@de-jcup
Copy link
Owner

de-jcup commented Dec 30, 2021

I fresh installed on eclipse 2021-12 Yaml-Editor 1.8.0
and I got following:
image

So I cannot reproduce your problem.

@alexmarinn
Copy link
Author

Thanks for looking into this.

I see no folding at all in your snapshot, is this expected?

Do you have the "New editors have code folding enabled" preference set? (folding seems to be off by default)

Here's what I see on my end (running 1.8.0 on 2021-09):
image

@de-jcup
Copy link
Owner

de-jcup commented Jan 10, 2022

Ah - now I see the problem. You are not talking about the outline but the editor folding... sorry..

I have folding in editor turned off ( I always want to see all... I integrated the folding only because some people asked me to implement).

After trying to enable the folding I was stuck - at my Linux machine the folding does no longer appear at all... (eclipse 2021-12)
Tried with older eclipse (2021-06) and 1.8.0 editor .

After this I tried out 2021-12 with 1.8.0 editor under windows.
Even this does not work at all (no folding appears)

Which version of the editor do you currently use?

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

2 participants