HTML LSP Configuration

The details below describe how to install and configure the HTML language server found here.
IMPORTANT: This language server assumes Node.js has been installed on the machine. To test for this open the command prompt, run the node -v command and check that the version number output is produced, something similar to this:
v22.13.0
If Node.js is not installed, download and install Node.js from here.

Installing the Language Server

Install the HTML Language Server using the following command:
npm install -g vscode-html-languageservice
This npm install will create a vscode-html-language-server.cmd batch file in the Node.js node folder which should also be in tha PATH.

Configuration

Start Zeus and use the Options, Document Types menu to edit the HTML document type and in the Language Server panel apply the following configuration settings:
Program Type: Batch
     Program: vscode-html-language-server.cmd
   Directory:
   Arguments: --stdio
              --log-level=4
NOTE: The directory value is only required if the location of the vscode-vscode-html-language-server.cmd file has not been added to the system PATH.

Using the Language Server

The Language Server, Autocomplete menu is used to fire of the autocomplete as shown below:
Zig tip
NOTE: As that menu indicates, the Alt+Space keyboard shortcut can also be used to activate the autocomplete.
To test the configuration create a simple test.html file and fire off the autocomplete for HTML tags as shown below:
LSP HTML Tag
NOTE: The autocomplete can also be activated on a single < character and that will display all possible HTML tags.
The language server can also be used to complete CSS styles as shown below:
LSP HTML Styles
In addition to these code completion examples, the language serve also provides document hover as shown below:
LSP HTML Tip


Latest Version: Zeus 3.99e
Released: 2nd January 2026