debug mode
same as with the client reference implementation, the debug setting controls logging output this allows all logger.info() messages to come through. by default, the highest level is warn
(socket only) encoding for the LSP server to use.
allowed file extensions for embedded graphql, used by the parser. note that with vscode, this is also controlled by manifest and client configurations. do not put full-file graphql extensions here!
allowed file extensions for full-file graphql, used by the parser.
(socket only) hostname for the LSP server to run on.
LoadConfigOptions
from graphql-config@3
to use when we loadConfig()
uses process.cwd() by default for rootDir
option.
you can also pass explicit filepath
, add extensions, etc
socket, streams, or node (ipc).
custom, multi-language parser used by the LSP server. detects extension from uri and decides how to parse it. uses graphql.parse() by default response format is designed to assist with developing LSP tooling around embedded language support
(socket only) port for the LSP server to run on. required if using method socket
the temporary directory that the server writes to for logs and caching schema
Generated using TypeDoc
pre-existing GraphQLConfig primitive, to override
loadConfigOptions
and related deprecated fields