Sublime Forum

C++ class declaration syntax highlighting

#1

When creating a c++ class in Sublime text, I have noticed that the color of the class name changes depending on whether it is proceeded by a namespace.

If there is no namespace, the class name will not be highlighted. If there is a namespace preceding the class name, the class name will be highlighted, but the namespace will not be.

The expected behavior is that the class and namespace be highlighted in all scenarios.

Is there a rational for this?

0 Likes