jeff-hykin / better-cpp-syntax

💾 The source of VS Code's C++ syntax highlighting
GNU General Public License v3.0
155 stars 30 forks source link

CPP highlighting with const array declaration #621

Closed alexr00 closed 4 months ago

alexr00 commented 1 year ago

Checklist

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.

vware commented 1 year ago

not even a response after a month?

jeff-hykin commented 1 year ago

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.

vware commented 1 year ago

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