Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPP highlighting with const array declaration #621

Open
1 task done
alexr00 opened this issue Jan 4, 2023 · 3 comments
Open
1 task done

CPP highlighting with const array declaration #621

alexr00 opened this issue Jan 4, 2023 · 3 comments

Comments

@alexr00
Copy link

alexr00 commented Jan 4, 2023

Checklist

  • 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 microsoft/vscode#170177.

@vware
Copy link

vware commented Jan 31, 2023

not even a response after a month?

@jeff-hykin
Copy link
Owner

jeff-hykin commented Jan 31, 2023

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
Copy link

vware commented Jan 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants