microsoft / microsoft/vscode-cmake-tools
cmake syntax color highlihting broken
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
the issue is that the coloring isnt working properly as you can see in these images.
in the first image the SHARED must be colored green and the Log must be the same color as the strings, PROPERTIES should be green and so should EXPORT_FILE_NAME
cmake tools version:
1.23.52
vs code version:
1.370.0
### CMake Tools Diagnostics
```shell
{
"os": "win32",
"vscodeVersion": "1.137.0",
"cmtVersion": "1.23.52",
"configurations": [
{
"folder": "c:\\Users\\bbb\\VSCodeProjects\\EngineProject",
"cmakeVersion": "4.4.3",
"configured": true,
"generator": "Ninja",
"usesPresets": true,
"compilers": {
"C": "C:/msys64/ucrt64/bin/cc.exe",
"CXX": "C:/msys64/ucrt64/bin/c++.exe"
}
}
],
"cpptoolsIntegration": {
"isReady": true,
"hasCodeModel": true,
"activeBuildType": "Release",
"buildTypesSeen": [
"Release"
],
"requests": [],
"responses": [],
"partialMatches": [],
"targetCount": 2,
"executablesCount": 1,
"librariesCount": 1,
"targets": [
{
"name": "SomeProject",
"type": "SHARED_LIBRARY"
},
{
"name": "idk",
"type": "EXECUTABLE"
}
]
},
"settings": [
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": true
}
]
}
```
### Debug Log
```shell
unable to provide debug log and its also not relevant
```
### Additional Information
_No response_
Contributor guide
Research direction
No source file or test is identified in the report. Start by reproducing the syntax-highlighting issue in the reported CMake project with the listed VS Code and CMake Tools versions, then verify that SHARED, PROPERTIES, and EXPORT_FILE_NAME use the expected highlighting and that Log matches string coloring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100