Page 1 of 1

HTML Language Server

Posted: 02 Dec 2022 14:07
by Rickard Johansson
HTML Language Server
Support HTML code and hover information and completion...

Install
* Install Nodejs for Windows https://nodejs.org/en/download/
* Install server

Code: Select all

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

Server name
HTML Language Server

Command
html-languageserver.cmd

Command line arguments
--stdio

Initial folder
%AppData%\npm

File extension and language id
.htm=html
.html=html

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.