-
-
Notifications
You must be signed in to change notification settings - Fork 946
Support for JSON Language Server #1243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
yyoncho
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Few questions:
- Is it possible to associate the current buffer with a specific schema?
- Do we need a method like lsp-json-update-schemas which should be called when schema mappings are changed?
lsp-json.el
Outdated
| "LSP support for JSON, using vscode-json-languageserver." | ||
| :group 'lsp-mode | ||
| :link '(url-link "https://github.com/vscode-langservers/vscode-json-languageserver") | ||
| :package-version '(lsp-mode . "6.2")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6.2 was just released. We are now 6.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
Yes, either via
Not really, if we update schema then just run |
fa65a2e to
7ebd2c0
Compare
|
Ok, if |
No, user should use |
|
Thank you! |
Yes, you are right. |
|
Do you have twitter? If yes, can you twit about it with a gif? IMO it will be very useful language server for a lot of people. |
|
@kiennq one more thing - if you have twitter account it will be great to tweet about the new functionality with a gif. IMO this server will be helpful for a lot of people. |
|
Thanks, here is my twit https://twitter.com/neikmaster/status/1204859535610957824 |
| @@ -0,0 +1,136 @@ | |||
| ;;; lsp-pwsh.el --- vscode-json-languageserver integration -*- lexical-binding: t; -*- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this filename in this comment is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, the downfall of copy/paste :(. Will update it next time I touch this file again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries.
* add lsp-json with automatic installation * update README to include lsp-json
Per #1073, adding
lsp-jsonwith server automatically installation capability.