Zed

Install the QTML extension from Zed's Extensions panel. The extension recognizes .qtml files and starts the qtml_lsp language server for completion, diagnostics, and formatting.

Install the language server first:

cargo install qtml_lsp

Open the root of your Rust project in Zed, then create or open a file such as ui/page.qtml. If Zed reports that the language server cannot be found, make sure Cargo's bin directory is on your PATH and restart Zed.