Closed MrExquisite closed 3 years ago
This is not our bug, i.e. repros with our extension disabled. Can you file a bug at https://github.com/jeff-hykin/cpp-textmate-grammar/issues ? That is the repro for the C/C++ lexical colorization that is used by VS Code.
Thank you and SFTI, moved to here.
Bug type: Language Service
Describe the bug
When a keyword like
case
is immediately followed by a character literal, syntax highlighting gets broken.Steps to reproduce
Expected behavior
Syntax highlighting should work correctly, like when a space is positioned between
case
and the string literal.Code sample and logs
Code sample
Logs from running
C/C++: Log Diagnostics
from the VS Code command palette logs_syntax_highlight_bug.txtScreenshots