Page 1 of 1

JSON Language Server

Posted: 02 Dec 2022 14:10
by Rickard Johansson
JSON Language Server
Support JSON files and provide diagnostics, hover information, completion...

* Install Nodejs for Windows
* Install server

Code: Select all

>npm install --global vscode-json-languageserver-bin
Add the server in project/site settings

Server name
JSON Language Server


Command line arguments

Initial folder

File extension and language id

Communication channel
* Command line (stdio)

Source folders
<Main site folder>

Initialize options

You can also use socket communication. Just replace the argument --stdio with --socket={number} e.g. --socket=5000.