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

[Feature Request] Always fold comments #6

Open
lonix1 opened this issue Jun 19, 2021 · 2 comments
Open

[Feature Request] Always fold comments #6

lonix1 opened this issue Jun 19, 2021 · 2 comments

Comments

@lonix1
Copy link

lonix1 commented Jun 19, 2021

It would be nice to have a config option:

"foldLevel.alwaysFoldComments": false           // default `false` for backwards compatibility

If true it would behave like normal, but would always fold block comments (those before functions, e.g. /* ... */ for js, /** ... */ for js / java, // <summary> ... </summary> for c#, etc.)

Very often I find that comments get in the way. I wish they would be folded all the time, regardless of the 1-6 level.


Thanks again for this awesome extension, it makes dealing with large files much easier! 👍

@vikyd
Copy link
Owner

vikyd commented Jun 23, 2021

Good idea, but no solutions now.

Welcome a PR.

@lonix1
Copy link
Author

lonix1 commented Jun 23, 2021

I wouldn't know where to begin. :)

Feel free to close. Extension works nicely even without that feature.

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