Building without NodeJS/WASM #27
-
I would like to try out the language server with my Sublime/Vim-LSP setup instead of VSCode. Is it possible to build the server executable using only Rust's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
NodeJS isn't a requirement if you're not interested in the We haven't tested how the program interacts with other editors, but it uses the LSP 1.17 standard of communication through stdin & stdout. Please keep in mind that this project is very early stages, so not many features have been implemented, but let me know if you have any issues compiling the project! |
Beta Was this translation helpful? Give feedback.
NodeJS isn't a requirement if you're not interested in the
.vsix
file, as the Rust competent can be compiled and run independently. The WASM is a separate cargo, so to avoid building it, you can run this command:cargo build --bin p4analyzer --release
, and the executable will be created attarget\release\p4analyzer.exe
.We haven't tested how the program interacts with other editors, but it uses the LSP 1.17 standard of communication through stdin & stdout. Please keep in mind that this project is very early stages, so not many features have been implemented, but let me know if you have any issues compiling the project!