entity.name.namespace/meta.path scope is not highlighting in C++. What to do now?
Should I post this in another category?
More explanation of what it is you’re seeing versus what you’re expecting to see might be helpful to others to know what it is you’re reporting.
In Sublime text Documentation, I saw there are scopes for namespace such as
meta.namespace. But when I create my own new color scheme where I have used nothing but
entity.name.namespace scope, I saw that nothing changed. And I downloaded some syntax definition for c++, but they use function definition for
std::cout and this is not what I want. That’s why I think that there is something wrong in
c++.sublime-syntax file in sublime text.
BTW I’m using sublime text 4.
Now I understand that entity.name.namespace, meta.namepsace and meta.path are not the scopes that I was thinking. Sorry for being annoying. But is it possible to make my own scope that will work as I want???
You can create an
override on the existing syntax to modify its contents (you can also
extend it to create a new syntax, though I believe that would add new rules while keeping the existing ones, which is probably not what you want).
That requires knowledge of how the syntax system works however, which is non-trivial if you aren’t already familiar with it.
… especially not with syntaxes from C/C++ family