-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
🐛 BugSomething isn't workingSomething isn't working
Description
Describe the bug
- OS and Version: Ubuntu 18.04.2 LTS
- VS Code Version: 1.31.1
- Better C++ Syntax Extension Version: 1.4.11
- Other extensions you installed (and if the issue persists after disabling them): C/C++. The issue persists after disabling it.
- A clear and concise description of what the bug is: When linebreaking after an inheritance colon, the access specifier, such as 'public', is not colorized.
To Reproduce
- Create a new file with extension '.cpp'.
- Input the code below in the newly created file. Note the linebreak after the colon.
class B
{};
class A :
public B
{};
- Try removing the linebreak, writing 'public B' on the same line as 'class A'. The keyword is suddenly colorized.
Expected behavior
The 'public' keyword should be colorized regardless if there is a linebreak or not.
Additional context
This issue exists with default VS code highlighting as well.
Metadata
Metadata
Assignees
Labels
🐛 BugSomething isn't workingSomething isn't working
