better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

CPP highlighting with const array declaration

Open alexr00 opened this issue 2 years ago • 3 comments

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:

image

Originally from @vware in https://github.com/microsoft/vscode/issues/170177.

alexr00 avatar Jan 04 '23 11:01 alexr00

not even a response after a month?

vware avatar Jan 31 '23 13:01 vware

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.

jeff-hykin avatar Jan 31 '23 18:01 jeff-hykin

yeah, thanks, but no thanks. i'd rather switch vscode to a better highlighter. loving the attitude. hfgl

vware avatar Jan 31 '23 21:01 vware