vscode-json-language-server schemas/schemastore #1410
sethidden
started this conversation in
Show and tell
Replies: 1 comment
-
I done it in simplest/dummy way possible https://github.com/beetleman/.emacs.d/blob/0ffb8939e48e127777d8be3a25e6dbab5b31135c/init.el#L1055
and it work for both, json and yaml Its not code which should be used in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed there are no threads about vscode-json-languag-server jSON's schemastore support.
As a first step, here's a snippet that enables completions for package.json:
Docs of vscode server: https://github.com/microsoft/vscode/blob/main/extensions/json-language-features/server/README.md
There's also eglot-yaml which supports schemastore (only for YAML, not json) https://github.com/yveszoundi/eglot-yaml/blob/main/eglot-yaml.el#L107-L111
Would be nice to have https://github.com/b0o/SchemaStore.nvim for Emacs
I also found this snippet: https://github.com/xhcoding/emacs.d/blob/a28d1ea98f85d5d58ed762dc6d0c88e5d9f919dc/README.org#json-ts-mode
Beta Was this translation helpful? Give feedback.
All reactions