diff --git a/extensions/json-language-features/server/README.md b/extensions/json-language-features/server/README.md index 2e8745c7d8a..328a523f5a2 100644 --- a/extensions/json-language-features/server/README.md +++ b/extensions/json-language-features/server/README.md @@ -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= +vscode-json-languageserver --node-ipc +vscode-json-languageserver --stdio +vscode-json-languageserver --socket= ``` 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.