atom-ide-rust icon indicating copy to clipboard operation
atom-ide-rust copied to clipboard

[Rust Analyzer] Assists (Code Actions) not showing up

Open GrayJack opened this issue 4 years ago • 7 comments

Rust analyzer have a bunch of Code Actions, before the 0.22.0-beta releases, when using the rust-analyzer the Code Actions suggestions showed up, but never worked and after 0.22.0-beta releases the suggestions never show up.

The not working part are probably a problem in atom-languageclient, but I'm not sure.

GrayJack avatar May 12 '20 04:05 GrayJack

Looks like code fixes fail to suggest, not sure if is the same problem as Assists not showing up

GrayJack avatar May 12 '20 06:05 GrayJack

atom-languageclient needs some work to support the latest LSP spec that rust-analyzer tends to use. I've added support for some of the more standard actions in #173.

More work is needed to supporting the non-standard rust-analyzer actions but we're a step closer.

alexheretic avatar May 13 '20 00:05 alexheretic

After updating to the 1.0.0 release, code fixes fail to suggest for me. Just letting y'all know 😄 (Oh, and tooltips won't show up for standard library items)

slightknack avatar Jun 19 '21 06:06 slightknack

@slightknack Are you using atom-ide-base or atom-ide-ui?

(Oh, and tooltips won't show up for standard library items)

I can't reproduce this. See the screenshot in the readme

aminya avatar Jun 19 '21 07:06 aminya

atom-ide-base. I have atom-ide-ui installed, but it's disabled. Let me know if you need any other diagnostic/system info. Thanks!

I can't reproduce this.

It might go away with a system restart or something - if it doesn't, I'll try to track down the root of the issue.

On Sat, Jun 19, 2021 at 9:17 AM Amin Yahyaabadi @.***> wrote:

@slightknack https://github.com/slightknack Are you using atom-ide-base or atom-ide-ui?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rust-lang/atom-ide-rust/issues/170#issuecomment-864368622, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCIUGSNX3XK4E3VOX77HSLTTRACJANCNFSM4M6PSRFQ .

slightknack avatar Jun 19 '21 16:06 slightknack

atom-ide-base. I have atom-ide-ui installed, but it's disabled. Let me know if you need any other diagnostic/system info. Thanks!

Does it work if you temporarily enable atom-ide-ui?

aminya avatar Jun 19 '21 19:06 aminya

If I enable atom-ide-ui, nothing shows up, i.e. I get no lints at all. I'm going to check my config / other packages, I'll get back to you on Monday or Tuesday with what I find. Again, it could just be something gone askew when installing the update, and I haven't had the time to seriously look into it.

slightknack avatar Jun 19 '21 20:06 slightknack