Suggestion: Pre-Processor Directives Improvement
Type: LanguageService
Hi, Like the code below, #if AMACRO do_something_A(); #else do_something_B(); #endif If I click on the #if Directive, it would be better to enhance the display (e.g. color) of the matching #else and #endif.
Describe the bug
- OS and Version:
- VS Code Version:
- C/C++ Extension Version:
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
To Reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
Screenshots
Additional context
It sounds like this is for highlighting the matching preprocessor directives (if/else/endif/etc.).
It sounds like this is for highlighting the matching preprocessor directives (if/else/endif/etc.).
Yes! :-) When there are too many lines of codes between #if and its matching #endif or when there are multi-level preprocessor directives, , it is not very easy to read the codes. Thanks.
This is being added in 1.3.0, and is currently available in 1.3.0-insiders5. Closing this one as a dupe of https://github.com/microsoft/vscode-cpptools/issues/2565 .