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

Consider enabling code folding on C++ namespaces #117

Closed
m-j-w opened this issue Jul 26, 2016 · 3 comments
Closed

Consider enabling code folding on C++ namespaces #117

m-j-w opened this issue Jul 26, 2016 · 3 comments

Comments

@m-j-w
Copy link

m-j-w commented Jul 26, 2016

Code folding is enabled on structs and control flow statements. Unfortunately not on namespaces.
In files with lots of helpers scattered throughout the file, code folding/collapsing those namespaces would be really helpful.

Thus, please consider enabling code folding on C++ namespaces. Thanks !

@ma-ric
Copy link

ma-ric commented Feb 24, 2017

Please enable code folding also

  • on whole class definitions (all between {}; ), not only on the subsections defined by class access modifiers (private, protected, public).

  • and on continues comment blocks.

Thanks!

@sean-mcmanus
Copy link
Contributor

The code folding behavior is from VS Code itself and is based on the indent position only. VS Code doesn't currently have any API for modifying the code folding behavior. This is being tracked at microsoft/vscode#3422 .

@sean-mcmanus
Copy link
Contributor

We're tracking this with #407 .

@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants