This extension provides official language server support for the RsHtml templating engine in Zed.
- Language Server: Integrates the RsHtml language server to provide rich language features.
- Syntax Highlighting: Basic syntax highlighting for
.rs.htmlfiles. - Cross-Platform Support: The language server works seamlessly on Windows, macOS, and Linux.
This extension is a lightweight wrapper that automatically starts the RsHtml language server for you, enabling a smoother development experience when working with RsHtml templates.
The extension first checks if rshtml-analyzer is available in your system's PATH. If it is, that version will be used. If not, the extension will download and manage its own copy internally. You can override this internal version at any time by installing rshtml-analyzer globally, which the extension will then prefer.
If you want to install the rshtml-analyzer yourself, you can do so with the following command:
cargo install --git https://github.com/rshtml/rshtml-analyzer.git --tag v0.1.7Note: The tag can be updated according to the version.
- Install the extension from the Zed Extensions.
- Open a project containing
.rs.htmlfiles. - The extension will automatically activate and provide language support.
Enjoy working with RsHtml!