Skip to content

rshtml/zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RsHtml for Zed

Zed Marketplace

This extension provides official language server support for the RsHtml templating engine in Zed.

Features

  • Language Server: Integrates the RsHtml language server to provide rich language features.
  • Syntax Highlighting: Basic syntax highlighting for .rs.html files.
  • Cross-Platform Support: The language server works seamlessly on Windows, macOS, and Linux.

Overview

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.7

Note: The tag can be updated according to the version.

Getting Started

  1. Install the extension from the Zed Extensions.
  2. Open a project containing .rs.html files.
  3. The extension will automatically activate and provide language support.

Enjoy working with RsHtml!

About

Zed editor extension for RsHtml.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors