microsoft / microsoft/vscode-cmake-tools

[Bug] cmake syntax highlighting is broken

Open
#4,508 24 comments 10 reactions 0 assignees View on GitHub
bug Feature: language services
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

After update into 1.21.36(latest) version, syntax highlighting is not working well.

### Before update (1.20.53)
Image

### After update (1.21.36)
Image

### CMake Tools Diagnostics

```shell
n/a
```

### Debug Log

```shell
n/a
```

### Additional Information

FYI, The color theme was Dark Modern. I used ssh with Windows host PC, working on Linux server.

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Start by reproducing the highlighting difference in VS Code 1.21.36 over SSH on a Linux server, using the Dark Modern theme, and compare it with 1.20.53. Done means CMake syntax highlighting works correctly in the reported setup; the issue's diagnostics and debug log provide no additional starting point.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.