graphql-language-serviceChangelog | API Docs | Discord
Note: Still mostly experimental, however it depends mostly on stable libraries. Migration Note: As of 3.0.0, the LSP Server command line interface has been moved to
graphql-language-service-cli
This package brings together all the dependencies for building out web or desktop IDE services for the GraphQL Language.
It is named as such to match the convention of other vscode language services.
Language Service Protocol (LSP) methods written in TypeScript used by
graphql-language-service-server,
monaco-graphql
and
codemirror-graphql.
The goal is to provide methods for creating Language Server Protocol compliant services to be used by an IDE plugin, a browser application or desktop application.
A standalone online, immutable, dependency-free parser for GraphQL, used by the LSP interface methods.
With GraphQL.js 17, fragment variable definitions and fragment spread arguments
can be enabled for parsing, diagnostics, outlines, operation facts, autocomplete,
and hover information. Pass experimentalFragmentArguments: true through the
relevant language-service options. The feature defaults to false because the
connected GraphQL server must also support the experimental syntax.
Various utilities