lsp-server
By rust-analyzer
taplo
A TOML toolkit written in Rust (by tamasfe)
lsp-server | taplo | |
---|---|---|
3 | 3 | |
143 | 1,173 | |
- | - | |
4.8 | 7.9 | |
almost 2 years ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lsp-server
Posts with mentions or reviews of lsp-server.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-24.
-
Adding LSP (or just Rust Analyzer) and syntax highlighting to my custom text editor
You can look into RA's lsp_server example, allthough it is designed to show how to create a LSP server it showcases well how to use the lsp_types crate (which contains the definitions of LSP).
-
Language Server for pest.rs grammar.
I believe the closest to a plug-and-play solution is using a server scaffold/stub. For example rust-analyzer uses this, or there is tower-lsp.
-
RPC over stdin/stdout
Consider “just write it yourself” option. Implementation in rust-analyzer takes about a hundred lines https://github.com/rust-analyzer/lsp-server/blob/master/src/msg.rs#L140
taplo
Posts with mentions or reviews of taplo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-15.
-
Writing a SQL LS in Rust - Looking for Coding Companions.
You might find useful this: https://github.com/tamasfe/taplo
-
Master any CLI tool with this one weird trick
Some CLI tools have man pages and in such situations like writing completion spec, people usually use them as a source to learn about the tool and its subcommands options, etc. (Usually they have the best reputation for being the most accurate source of information). Though, the tool I chose to write the completion spec, taplo, did not have any manual entry pages. Even better! I found their website and documentation which was really helpful.
-
Language Server for pest.rs grammar.
Because I targeted WASM, I needed to roll my own. It simply needs async functions as handlers and a world state that is passed along with the requests to the handlers. (example here). You can use it as an example, the code is not the prettiest, but I'll happily answer questions.
What are some alternatives?
When comparing lsp-server and taplo you can also consider the following projects:
pest - The Elegant Parser
toml - Rust TOML Parser
jsonrpc - Rust JSON-RPC implementation
rq - Record Query - A tool for doing record analysis and transformation
RustLSP - A Language Server Protocol implementation in Rust
joshuto - ranger-like terminal file manager written in Rust
hprof-slurp - JVM heap dump analyzer
sqls - SQL language server written in Go.
rhit - A nginx log explorer
SQLpage - SQL-only webapp builder, empowering data analysts to build websites and applications quickly
gobang - A cross-platform TUI database management tool written in Rust