pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
237 stars 37 forks source link

Folds shouldn't include the whitespace beneath the block #53

Closed shmup closed 6 years ago

shmup commented 7 years ago

Maybe this isn't what everyone is universally experiencing.

You can see that in my examples below, when folding a proc (or anything) it also wraps up all the whitespace beneath (even if it was many lines). In the case of folding everything, it creates a block of folds with no space in between.

image

For an example, without folds then with the middle proc being folded:

code_2017-06-06_16-07-22 code_2017-06-06_16-07-32
GULPF commented 6 years ago

Is this finally solvable now? https://github.com/Microsoft/vscode/issues/3353#issuecomment-330797736

flamders commented 6 years ago

Hmm, just got a new version with apt 1.17 and this seems fixed to me in python. Great work btw! Thank you, makes this editor much better.