Editors
elements man editorsElements includes one language server, elements-lsp. Every editor
integration connects to it, and it provides diagnostics, completion, hover, go-to-definition,
references, rename, and project-wide symbol search for .ts, .js, HTML
templates, .jsoc, and .css. It is the same checker the build runs, so the
editor and elements build report the same errors. See typescript.
There is nothing to set up. Installing Elements installs the VS Code extension,
the Vim and Neovim plugin, and the Claude Code plugin for every editor it
finds. Each integration
attaches only inside an Elements project, a directory holding the
.elements/id marker that elements create writes, so your other work is
untouched.
elements-lsp ensures the build server is running at the installed version
and connects the editor to that project's LSP socket. VS Code connects to the socket
directly. Vim and Neovim launch elements-lsp stdio, which bridges stdin and
stdout to the same socket. Server-side detail for any editor is in
elements logs -service build.