atom / language-c

C support in Atom
Other
118 stars 153 forks source link

C++17 nested namespaces don't have the correct colorization #260

Open sean-mcmanus opened 6 years ago

sean-mcmanus commented 6 years ago

namespace level1::level2

The level1 is colored, but the level2 is not.

Repros with Atom and VS Code.

Original issue: https://github.com/Microsoft/vscode-cpptools/issues/1477

iPherian commented 6 years ago

I have the same problem:

language-c-highlighting-multi-component-ns

versions:

Atom : 1.26.1 Electron: 1.7.11 Chrome : 58.0.3029.110 Node : 7.9.0 language-c : 0.59.3

jeff-hykin commented 5 years ago

If you guys are still looking for a fix, I made a VS Code Extension that fixes this along with several other things. https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-cpp-syntax#overview