-
Notifications
You must be signed in to change notification settings - Fork 30k
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
#if and #endif macros folding cannot be done when the code were not intended! #69935
Comments
(Experimental duplicate detection) |
I think this article may explain what you're seeing:
What language is your file being handled as? |
thanks for your reply, i'm using pure c in my project. |
So your issue is probably a duplicate of #66404. That has been closed with a reference to microsoft/vscode-cpptools#407. Unless the Language Server VSCode is using for your C files gets enhanced to implement a FoldingRangeProvider the best you can expect from VSCode is indent-based folding. |
Just like this
after intended:
HOW CAN I FOLD THE MACRO WITHOUT INTENDING THE CODE?
The text was updated successfully, but these errors were encountered: