-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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] show folding lines #19690
Comments
@g5codyswartz Thanks Cody for the nice writeup. There are no easy fixes here, so I can't give any estimate if and when we would tackle any of these. |
Here's another popular one used for decades, seen this on hundreds of projects:
Would have created a screenshot but on win10 vscode goes black when you do that. #bug It would be great if the dev team cared about standards that have been around for 20 years and still exist in billions of lines of code. To not implement this means the core team have a narrow-minded view of their audience. Core features like this are critcal to developers and VS code currently wastes millions of hours of devs time because this feature is half-thought out and implemented. This is core editor functionality. Please get a bunch of heads around this. Surely someone has access to the VSEnt guys and how they did it? Dreamweaver (#sigh) probably had the best implementation of customizing this using a visual code block you could format yourself and it learnt what you wanted. |
@dawesi Not sure how your code sample is related to this issue. Can you create a new issue with your sample, what language mode this is for, what you see and what you expect. Thanks a lot! |
fold to single line is #3352 |
An alternative to decorating the gutter could be to highlight the lines in the block that would be folded, when its corresponding folding icon is hovered. It could be something in a similar style to the current line highlight. (Somewhat related: #73800). |
#139425 also suggests to highlighting the active fold region with a different color. |
I would like to see more options with code folding and with bracket matching.
It seems the user base is quite split on how they want the collapsed region to display, so I think this should be a user configuration setting along with the other features listed.
Feature Requests
pictures #2 and #3
+ Related#2 Alternative Designs#2pictures #3
This should only happen when the top matching bracket isn't visible on the current viewport.pictures #1 and #2
it highlights the current block you're onpictures #1 and #3
you can collapse a block region from the lower bracket which can be really nice, it can be a quick way to see what the bracket belongs to w/o featurerequest #3
Picture examples
Related
Labels
The text was updated successfully, but these errors were encountered: