C++ string variable type highlight


#1

Hello, I was wondering if there is any package/theme that would highlight string variable type in any c++ files?


#2

What is it that you’re looking for that the built-in language-c package isn’t doing?


#3

You meant highlight only names of variables of std::string (or such)? You’ll need a compiler to do that!


#4

I am just wondering why the word “string” is not being highlighted by the language-c package


#5

Because support for recognizing that as a type and highlighting it as such hasn’t been added to the language-c package yet. You can check these kinds of things yourself using the techniques documented in the Atom FAQ: