Better handling of switch statements and braces within macro bodies #236688
Open
Description
opened on Dec 20, 2024
When writing C or C++ code there's often the need to use macros.
Some of those macros may have incomplete switch statements or unmatched braces, all of which will wreak havoc with the syntax highlighter and with the bracket pair colorization algorithm.
It would be awesome if a braceless switch didn't cause the #endif
preprocessor directive to be colored wrong and for bracket pair colorization to be disabled within macro bodies.
Metadata
Assignees
Labels
No labels
Activity