apollographql / apollographql/apollo-tooling

[vscode-apollo] Syntax highlighting for schema annotations not working properly depending on the annotation type

Open
#1,042 3 comments 0 reactions 0 assignees View on GitHub

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.

Screenshot

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.