Performs GraphQL language service features with provided arguments from the command-line interface.
autocomplete: returns GraphQL autocomplete suggestions at the cursor
location provided, or at the end of the query text.
outline: returns GraphQL query outline information.
validate: performs GraphQL query lint/validations and returns the results.
Query validation is only performed if a schema path is supplied.
Generated using TypeDoc
We welcome your feedback and suggestions.
GraphQL Language Service provides an interface for building GraphQL language services for IDEs.
Almost 100% for Microsoft's Language Server Protocol is in place
Supported features include:
see more information at
Installation and Usage
An LSP-compatible client with a file watcher that sends watch notifications to the server.
DROPPED: GraphQL Language Service no longer depends on Watchman
Only node 9 or greater, and npm or yarn are required dependencies.
either will install the
GraphQL configuration file (
Check out graphql-config
The custom graphql language configurations are:
customValidationRules- returns rules array with parameter
LSP Workspace Configuration
server, your LSP-compatible client can provide additional workspace configuration.
coc.nvimallows for providing custom
this would allow for legacy
graphql-configfile formats like
.graphqlconfig, useful on projects maintaining compatibility with the intellij plugin
Using the command-line interface
The node executable contains several commands:
serverand the command-line language service methods (