A Language Server Protocol (LSP) implementation for Unpoly.js Version 3.11.
- Uses LSP 3.18
- HTML
- Templ (Templ)
- ERB (Ruby on Rails)
Additional language support can be requested. They are configured by the client.
✅ Hover Documentation – Displays documentation on hover
✅ Auto-completion – Provides intelligent suggestions
- Install Go 1.25+.
- Run
go install github.com/o-richard/unpoly-lsp@latestand ensureunpoly-lspis discoverable in your system path. Refer to the Go installation guide for details.
- Ensure the command in
src/extensions.tsmatches the expected binary name. Modify if necessary. - Navigate to
editors/vscodeand install dependencies:npm install npm install -g vsce
- Package the extension:
vsce package
- Install the generated
.vsixfile via VSCode/VSCodium’s Extensions page.
Installing and configuring the Unpoly LSP is no different to setting up any other Language Server. Use your preferred LSP client.
