bram209 / leptos-language-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leptos-language-server

A language server for the Leptos web framework.

Status

! The latest released alpha version of this language server is using a outdated formatter.

At this point, I am not sure if it is worth it to build a language server for leptosfmt. Editor support with rust analyzer inside the macro is already pretty good and I have limited time to work on this project. I will try to update the language server soon, so that the latest version of the formatter is used.

Until then, you may keep using the language server if it works for you. The most notable feature that the later versions of leptosfmt support are non-doc comments, so if you want those, you will have to use leptosfmt directly for now. You can find the leptosfmt cli here: https://github.com/bram209/leptosfmt

Features

  • view! macro formatting
  • ...

Formatting

leptos-lsp-formatting

About

License:Apache License 2.0


Languages

Language:Rust 88.9%Language:TypeScript 11.1%