VSCode JSON Language Server need some infos
DeltaEvo opened this issue · 0 comments
DeltaEvo commented
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