microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

incorrect comment syntax highlight

tdjastrzebski opened this issue · comments

Environment

  • OS and Version: Windows 11
  • VS Code Version: 1.88.0
  • C/C++ Extension Version: the latest 1.19.9
  • If using SSH remote, specify OS of remote machine: no

Bug Summary and Steps to Reproduce

Bug Summary:
/* */ comments which do not start the line and end on the next line are parsed/highlighted incorrectly

image

Configuration and Logs

c_cpp_properties.json 
{
"name": "test",
"intelliSenseMode": "gcc-arm",
"cStandard": "c17",
"cppStandard": "c++17",
"compilerPath": "${env:MBED_GCC_ARM_PATH}/arm-none-eabi-g++"
}

Other Extensions

No response

Additional context

No response

This is being tracked by jeff-hykin/better-cpp-syntax#527 , which is where VS Code itself gets its C++ lexical colorization.