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

[upstream] rust-analyzer attaches, but doesn't work for second standalone file #190

Open
mrcjkb opened this issue Jan 27, 2024 · 1 comment
Labels

Comments

@mrcjkb
Copy link
Owner

mrcjkb commented Jan 27, 2024

To reproduce:

  • In a non-project, open foo.rs
    • rust-analyzer attaches in standalone/detached mode
    • hover, completions, etc. work
  • :e bar.rs
    • rust-analyzer attaches
    • hover, completions, etc. don't work work

A workaround was implemented in #189.
But this has the issue that separate rust-analyzer processes are spawned for each file.

@mrcjkb mrcjkb added bug Something isn't working upstream and removed bug Something isn't working labels Jan 27, 2024
@mrcjkb mrcjkb changed the title [bug/upstream?] rust-analyzer attaches, but doesn't work for second standalone file [upstream] rust-analyzer attaches, but doesn't work for second standalone file Jan 27, 2024
@mrcjkb
Copy link
Owner Author

mrcjkb commented Jan 27, 2024

Depends on rust-lang/rust-analyzer#14318.

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

No branches or pull requests

1 participant