Open JayXon opened 5 years ago
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:
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++.
See: https://google.github.io/styleguide/cppguide.html#Constant_Names
VSCode support this if not using this extension