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

VSCode JSON Language Server need some infos #2

Open
DeltaEvo opened this issue Feb 5, 2018 · 0 comments
Open

VSCode JSON Language Server need some infos #2

DeltaEvo opened this issue Feb 5, 2018 · 0 comments

Comments

@DeltaEvo
Copy link

DeltaEvo commented Feb 5, 2018

Hello maintainer of vscode-json-languageserver-bin here,

I'm sorry to have published this project without doc (I will write it in the next days)
To properly work vscode-json-languageserver need json schemas

To sent schema to it you need a json/schemaAssociations notification with a https://github.com/vscode-langservers/vscode-json-languageserver/blob/master/src/jsonServerMain.ts#L146-L150 array

I made for my personal usage a script https://github.com/DeltaEvo/dotfiles/blob/master/.vim/langservers/downloadSchemas.js that download json schemas from http://schemastore.org/ and output a schemas.json that can be sent with json/schemaAssociations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant