You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C++ syntax highlighting not working properly when constructor initializer list has multiple lines #529
Myclass(const Myclass&) noexcept = delete;
void print() { std::cout << 1 << std::endl; }
private:
int x;
int y;
int z;
};
It is observed that this issue occurs when the constructor initializer list is spread over more than a line.
Issue exists for all themes and when all extensions are disabled as well
Code works and tested with g++
screenshot at 2017-03-03 21 16 41
This is a bug with atom/language-c, which is used to implement all the C/C++ syntax highlighting in VS Code (the C++ extension doesn't implement any colorization). It seems like the root cause is the same as in atom/language-c#101 .
Activity
sean-mcmanus commentedon Mar 6, 2017
This is a bug with atom/language-c, which is used to implement all the C/C++ syntax highlighting in VS Code (the C++ extension doesn't implement any colorization). It seems like the root cause is the same as in atom/language-c#101 .
Colengms commentedon Jul 3, 2019
This appears to be fixed in VS Code.