New (incomplete and x64 only) LSP client plugin
-
@Ekopalypse said in New (incomplete and x64 only) LSP client plugin:
I will prepare another alpha version tomorrow and make it available.
Great! Looking forward to it.
-
I’ve opened an issue that I wanted to wait for before releasing a new version.
-
Hi Ekopalypse:
I’m in the midst of learning Rust, amongst a few other new languages.
I installed your latest version of NppLspClient.
Following your instructions, I tried to install a Language Server for Rust, they mentioned that the OLD version of RLS is no longer supported (deprecated I think) and recommended using rust-analyzer.
Here is the link: https://github.com/rust-lang/rls
I have rust-analyzer installed in Visual Studio Code w022 but was unsure how to install it for Notepad++.Any comments or advice would be appreciated.
Thanks
Murray -
Either download a pre-built binary or clone their repo and build it yourself, which is what I do to stay up to date.
My config for rust looks like this
[lspservers.rust] mode = "io" executable = 'D:\Repositories\rust\rust-analyzer\target\release\rust-analyzer.exe' auto_start_server = true # initialization_options = '{"completion":{"limit": 1000}}'
Since rust-analyzer can be quite chatty, you might want to comment out the
initialization_options
if you are having performance issues. My old i5 2nd edition processor seems to get along fine most of the time even with the commented line.For questions, suggestions etc… a discussion via github is also possible.
-
@Ekopalypse I downloaded this file: https://github.com/rust-lang/rust-analyzer/releases/download/2024-11-25/rust-analyzer-i686-pc-windows-msvc.zip and unzipped it.
You mention a “config for Rust”, how/ where do I place this??
BTW: my environment is Windows 11 64-bitProfessional edition. -
Is there a reason why you are using the 32bit version of rust analyzer?
Does that fit your rust toolchain?
For a 64 bit Windows I would have used this one I guess.You mention a “config for Rust”, how/ where do I place this??
Plugin->NppLspClient->Open Configuration File