jeff-hykin/better-cpp-syntax

Support Google C++ style constant names

JayXon opened this issue · 1 comments

See: https://google.github.io/styleguide/cppguide.html#Constant_Names

image
VSCode support this if not using this extension
image

So this was actually intentionally removed since it would incorrectly highlight things that were not meant to be a constant.

My friend actually pointed out a place where it was an issue:
screen shot 2019-02-28 at 6 23 07 am

Since the k syntax (along with the f) is not actually part of C++ I removed it from the default syntax highlighting.

Ideally there would be an extension to add highlighting for the the Google-Style constants since it is not highlighting that everyone wants. I'll keep this issue open for now, until I create an extension that restores those style constants. (I would just make it a setting but I don't think thats currently possible with how VS Code handles language-extensions).

There isn't even highlighting/tagging for standard library tools like cout, cin, string, vector so if C++ standard tools are not even highlighted, it doesn't make sense to highlight things that are not actually a part of C++.