apollographql / apollographql/apollo-tooling
[vscode-apollo] Syntax highlighting for schema annotations not working properly depending on the annotation type
Open
Nobody has claimed this yet.
:1st_place_medal: good-first-issue
:spiral_notepad: component - vscode
✔ confirmed
🐞 bug
🙏 help-wanted
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 460
- PR merge metrics
- No merged PRs in 30d
Description
Multiline annotations get highlighted properly, while single line annotations don't.

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
Start in the vscode-apollo syntax-highlighting implementation and compare how multiline and single-line schema annotations are classified. Reproduce the behavior shown in the linked screenshot, then verify that both annotation types receive the expected highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100