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

Section Folding bug #28

Open
hifismith opened this issue Dec 29, 2022 · 0 comments
Open

Section Folding bug #28

hifismith opened this issue Dec 29, 2022 · 0 comments

Comments

@hifismith
Copy link

I posted this in a closed issue, so I'm referencing it to create a new issue:

@bostick, it appears something has changed in the LSPServer. Section folding has a bug now.

This code shows the "Import" section declaration and then a function, which I've folded, followed by the initialization of variable 'sheets'
image

This "Import" section goes until line 470, but when I fold it, you'll see it only folds that first function.
image

A couple things stand out.

  1. Folding functions is a new feature I believe. It seems to be interfering with the section folding.
  2. The function folding is a nice feature that would be awesome to add to other large expression constructs like With, Block, Module, etc. For example, the next bit of code is a function encapsulated within a "With" expression. I am unable to fold it because of the encapsulation. It'd be nice to be able to fold the With statement:

image

Originally posted by @hifismith in #12 (comment)

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

1 participant