graphql / graphql/graphiql

[lsp-server] handle syntax highlighting at the LSP level

Open
#2,851 0 comments 0 reactions 0 assignees View on GitHub
enhancement lsp-server vscode-graphql-syntax
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

## Current Behavior (if applicable)

All of our code highlighting is provided by static grammar files that are only available to vscode clients

## Desired Behavior

We should lean on the LSP to generate code highlitghing rules for us programatically

https://github.com/microsoft/vscode-languageserver-node/pull/367

this will make our code highlighting logic far more testable

yes this would lead to retiring the syntax extension

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.