1 unstable release

0.1.0 Oct 3, 2023

#93 in Text editors

Download history 234/week @ 2023-12-14 268/week @ 2023-12-21 279/week @ 2023-12-28 360/week @ 2024-01-04 336/week @ 2024-01-11 340/week @ 2024-01-18 348/week @ 2024-01-25 449/week @ 2024-02-01 383/week @ 2024-02-08 392/week @ 2024-02-15 426/week @ 2024-02-22 416/week @ 2024-02-29 394/week @ 2024-03-07 621/week @ 2024-03-14 418/week @ 2024-03-21 377/week @ 2024-03-28

1,844 downloads per month

MIT license

58KB
1K SLoC

HTMX LSP

Right now this is very much so a work in progress.

GREAT NEWS!

We have reached a point where i could use help! If you want to fill in documentation or help with autocompletes please make an issue / make a pr!

BIG TODOS LEFT

  • all the autocomplete based on the hx-* attributes
  • distribute binary

Integration

There is no vim or vscode specific integration, but!!! i do have an example of launching servers and listening to them for neovim in lsp-debug-tools repo

Help

Creating the required clients to be used in vscode would be super cool. If i could avoid touching vscode that would be awesome

Build

Simple build

cargo build

Watching

cargo install cargo-watch
cargo watch -x build

Development

General

As of right now the general goal is just to provide completion for any - character received without even looking at the context.

After that, would be to perform some code actions that make sense and allow for amazing utility around htmx.

htmx-lsp -f /path/to/file --level OFF | TRACE | DEBUG | INFO | WARN | ERROR

NeoVim

As of now, lsp-debug-tools is the only debugging tool designed for in editor experience.

Dependencies

~10–19MB
~269K SLoC