chore(vscode): update to 1.54.2
This commit is contained in:
@ -167,7 +167,6 @@ interface ISchemaAssociation {
|
||||
* A match succeeds when there is at least one pattern matching and last matching pattern does not start with '!'.
|
||||
*/
|
||||
fileMatch: string[];
|
||||
|
||||
/*
|
||||
* The schema for the given URI.
|
||||
* If no schema is provided, the schema will be fetched with the schema request service (if available).
|
||||
@ -203,16 +202,16 @@ The JSON language server is shipped with [Visual Studio Code](https://code.visua
|
||||
If you plan to integrate the JSON language server into an editor and IDE, check out [this page](https://microsoft.github.io/language-server-protocol/implementors/tools/) if there's already an LSP client integration available.
|
||||
|
||||
You can also launch the language server as a command and connect to it.
|
||||
For that, install the `json-language-server` npm module:
|
||||
For that, install the `vscode-json-languageserver` npm module:
|
||||
|
||||
`npm install -g json-language-server`
|
||||
`npm install -g vscode-json-languageserver`
|
||||
|
||||
Start the language server with the `json-language-server` command. Use a command line argument to specify the preferred communication channel:
|
||||
Start the language server with the `vscode-json-languageserver` command. Use a command line argument to specify the preferred communication channel:
|
||||
|
||||
```
|
||||
json-language-server --node-ipc
|
||||
json-language-server --stdio
|
||||
json-language-server --socket=<port>
|
||||
vscode-json-languageserver --node-ipc
|
||||
vscode-json-languageserver --stdio
|
||||
vscode-json-languageserver --socket=<port>
|
||||
```
|
||||
|
||||
To connect to the server from NodeJS, see Remy Suen's great write-up on [how to communicate with the server](https://github.com/rcjsuen/dockerfile-language-server-nodejs#communicating-with-the-server) through the available communication channels.
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "vscode-json-languageserver",
|
||||
"description": "JSON language server",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.4",
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
Reference in New Issue
Block a user