Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to rust-analyzer #24

Open
xiaoshihou514 opened this issue Feb 19, 2023 · 1 comment
Open

Unable to connect to rust-analyzer #24

xiaoshihou514 opened this issue Feb 19, 2023 · 1 comment

Comments

@xiaoshihou514
Copy link

Hey, just been testing out the lapce ecosystem and I seemed to encounter a few issues. I downloaded the rust plugin but it doesn't seem to do anything. e.g no warnings when there are open brackets, no cmp when I type "pri" etc.

I tried

  • let the plugin use its supposedly bundled RA
  • point it to an RA binary I installed with rustup
  • reopen the editor
  • open the editor with admin access

Either way cmp and code lens don't seem to work. In the first case there are no warnings, the second case I got a complaint that RA could not be found, but it is definitely there and it's also in my PATH.

Info

  • OS: windows10
  • path to rustup installed RA binary: C:\Users\my_user_name.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rust-analyzer.exe (from which rust-analyzer)
  • lapce version: 0.2.5 grabbed from gh release
  • rust plugin version: 0.2.4
  • code I am testing with: std hello world program from cargo new

I have a gut feeling it's cause of some windows issue. Let me know if any testing is needed.

@elenakrittik
Copy link

elenakrittik commented Apr 17, 2023

Likely not a windows or packaging issue. Installed lapce 0.2.7 on EndeavourOS via community pacman package, installed plugin via the GUI and have the same behavior: RA prints initialization messages on status bar for a few seconds but after that mysteriously disappers and nothing except syntax highlighing works (not even a common indentifier-only completion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants