microsoft / microsoft/vscode-cmake-tools
[Bug] `include` keyword highlights even when not a function
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
Beginning a line with the word `include` highlights it as a keyword, even when it is not followed by `(`.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the highlighting behavior described in the issue, then locate the CMake Tools implementation responsible for keyword or function highlighting. Confirm the behavior for a line beginning with `include` both with and without `(`, and verify that the incorrect highlighting is no longer present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100