question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support rust-analyzer as Language Server

See original GitHub issue

rust-analyzer is the evolution of RLS and has support for non-Cargo based projects.

Currently, corrosion requires to have RLS. RLS and rust-analyzer should be interoperable but corrosion relies on some static output of RLS (namely, rls --version).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:24 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
matkladcommented, Jun 18, 2020

Rustup installation is a must-have for proper integration in Corrosion.

If the reason here is “we only want to support officially endorsed and distributed language servers”, then it makes sense to wait for rustup integration (I’ll estimate that as a couple of months). If the reason is “we assume the user has rustup”, than I’d argue it is suboptimal user experience. The best “search path” for an IDE is, I think:

  • try to look the binary in $PATH
  • try to look in ~/.cargo/bin
  • fallback to installation via rustup, if that is avaiable
  • bail out and show a warning dialog.
0reactions
mickaelistriacommented, Mar 9, 2021

Please try https://download.eclipse.org/corrosion/snapshots/products/ and create new tickets for further issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

rust-analyzer
rust -analyzer is an implementation of Language Server Protocol for the Rust programming language. It provides features like completion and goto definition ...
Read more >
rust-lang/rust-analyzer: A Rust compiler front-end for IDEs
rust -analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent...
Read more >
rust-analyzer joins the Rust organization!
The rust-analyzer project, a new implementation of the Language Server Protocol (LSP) for Rust, is now officially a part of the wider Rust ......
Read more >
Intro to rust-analyzer - LogRocket Blog
rust -analyzer is available for most IDEs with LSP support. To name a few, Vim, Emacs and VS Code have plugins for rust-analyzer....
Read more >
ra_ap_rust-analyzer — utility for Rust // Lib.rs
If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips &...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found