Code folding doesn't collapse trailing white space #38356
bryanbuchanan
started this conversation in
Language Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(Placing this issue into Language Support, because I believe it's LSP related.)
When collapsing a block of code, I would expect all of that block's content to be collapsed, but Zed fails to collapse any trailing white space within the block, resulting in something like this:
To reproduce:
This may be anecdotal, but I prefer the way Panic's Nova folds code blocks into a single line. I find it to do a better job of reducing visual noise, which is a purpose of the function in the first place:
...Rather than the way other editors tend to do it, showing the closing tag on its own line:
Beta Was this translation helpful? Give feedback.
All reactions