Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Only some LSPs support server configuration schema? #575

Answered by williamboman
nyonson asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! Yes, that's the situation currently. Most schemas originates from its corresponding VSCode extension, where it can be found in the $.contributes.configuration path of the extension's package.json manifest, for example this one. This is just a regular JSONSchema structure. Unfortunately, these schemas have a tendency to also incorporate settings that only apply to the VSCode client extension itself (and not the underlying, editor-agnostic, LSP server implementation). Some servers, for example pylsp, will provide a standalone schema definition, which is really nice as it's a fully editor-agnostic schema.

These schemas are currently mapped in this gist, and are used in this script to …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by williamboman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants