-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hints corrupts lines. InvalidParams: Received a completion with overlapping edits
#5693
Comments
InvalidParams: Received a completion with overlapping edits
InvalidParams: Received a completion with overlapping edits
Are you setting Could you make an asciinema recording of this? And also provide the log while running in verbose mode ( |
Also, sometimes if the file is bigger than in the video, the |
this looks like a rust-analyzer bug. I am not able to reproduce this on the lastest RA nightly. Perhaphs #6594 also helped here. Either way this seems to be fixed now so I am closing this |
Fun fact: I can't reproduce this problem even with an old helix and old rust now (how did I have this problem before? :D ). There is just no completion when I type inside |
I do get completions inside |
Summary
I know of an issue where you press
Enter
during a suggestion and some characters are removed. But this is slightly different issue (I believe).If you can't reproduce it and don't understand what I'm talking about, let me know, Ill record a video later.
Reproduction Steps
You don't need to create new project. The main point is to use rust and write
println
statement withenv!
macro.I tried this:
cargo new lolkek
cd lolkek; hx src/main.rs
println("{}", env!("CA
Tab
any number of timesThe preview is shown somewhere other than on this line. Also if you hit
Enter
it pastes selected hint in a strange place.I expected this to happen:
Lsp and helix work the same as with other hints.
Instead, this happened:
Strange behavior.
I see this error only with the
env!
macro.Helix log
~/.cache/helix/helix.log
-v
-vvv
Platform
Pop!_OS 22.04 LTS
Terminal Emulator
alacritty 0.11.0
Helix Version
helix 22.12 (97083f8)
The text was updated successfully, but these errors were encountered: