better-cpp-syntax
better-cpp-syntax copied to clipboard
CPP highlighting with const array declaration
Checklist
- [x] This problem exists even with the setting
"C_Cpp.enhancedColorization": "Disabled"
If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension: https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
static const std::string led_paths[] {
[RED] = LED_PATH("red"),
[GREEN] = LED_PATH("green"),
[BLUE] = LED_PATH("blue"),
[WHITE] = LED_PATH("white"),
};
It looks like:

Originally from @vware in https://github.com/microsoft/vscode/issues/170177.
not even a response after a month?
not even a response after a month?
¯\_(ツ)_/¯ I have +200 repositories. This is a free time project. If something bothers me I fix it.
If this bothers you @vware fix it. If you've got a question or need help, and I'll usually help.
The issue didn't ask for a response, so none was given.
yeah, thanks, but no thanks. i'd rather switch vscode to a better highlighter. loving the attitude. hfgl