rust-analyzer version: rust-analyzer 1.84.0-nightly (b19329a 2024-11-21)
rustc version: rustc 1.84.0-nightly (b19329a 2024-11-21)
editor or extension: helix 24.7 (079f5442)
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)
repository link (if public, optional): reproduced in multiple repositories
code snippet to reproduce: working on minimal repro
Since about the past week I have been dealing with an issue where autocomplete suggestions change when I highlight them. This video explains it better:

The video shows the following:
- I type
let mut px = PCt
- Arrow down to the suggested and expected
PCtx
- Once the suggestion is highlighted in the dropdown, it replaces my
PCt with PCtx which is expected. However, it deletes the space between = and PCt - that is weird.
- I hit escape to cancel, which deletes
PCt*
- I start typing
PCt again. RA again suggests PCtx
- I arrow down and highlight
PCtx in the dropdown. RA replaces it correctly this time
- However, after about a half second, the suggested
PCtx in the dropdown has changed to Either. This is completely random and makes no sense in the context (though what it suggests does seem to be consistent)
- I hit escape to cancel. For some reason, it replaces
PCtx with Either
My only RA config is pretty minimal:
[language-server.rust-analyzer.config]
diagnostics.disabled = [ "inactive-code", "unlinked-file" ]
I am assuming this came from an RA update since it started somewhat recently (past week or two) and Helix hasn't had an update in a few months, but I haven't yet had a chance to see if it still happens with older versions. This problem happens pretty consistently across multiple repos.
Edit: this happens with other kinds of autocomplete suggestions too, it is doing things like changing some_func to panic!().
rust-analyzer version: rust-analyzer 1.84.0-nightly (b19329a 2024-11-21)
rustc version: rustc 1.84.0-nightly (b19329a 2024-11-21)
editor or extension: helix 24.7 (079f5442)
relevant settings: (eg. client settings, or environment variables like
CARGO,RUSTC,RUSTUP_HOMEorCARGO_HOME)repository link (if public, optional): reproduced in multiple repositories
code snippet to reproduce: working on minimal repro
Since about the past week I have been dealing with an issue where autocomplete suggestions change when I highlight them. This video explains it better:
The video shows the following:
let mut px = PCtPCtxPCtwithPCtxwhich is expected. However, it deletes the space between=andPCt- that is weird.PCt*PCtagain. RA again suggestsPCtxPCtxin the dropdown. RA replaces it correctly this timePCtxin the dropdown has changed toEither. This is completely random and makes no sense in the context (though what it suggests does seem to be consistent)PCtxwithEitherMy only RA config is pretty minimal:
I am assuming this came from an RA update since it started somewhat recently (past week or two) and Helix hasn't had an update in a few months, but I haven't yet had a chance to see if it still happens with older versions. This problem happens pretty consistently across multiple repos.
Edit: this happens with other kinds of autocomplete suggestions too, it is doing things like changing
some_functopanic!().