Replies: 1 comment 1 reply
-
|
It doesn't remove for me in VSCode, so this is probably something with your editor. Specifically, rust-analyzer sends the editor what range to delete. Could it be that your editor doesn't respect that? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When inserting before an existing word (
to_path_buffer, below), is there a way to preventrustanalyzerfrom deleting that word, since it is not relevant to / part of the completion?Example before/after selecting the LSP's
strip_prefixcompletion (^ is the cursor location):path.strip^to_path_buffer();path.strip_prefix()^;path.strip_prefix()^to_path_buffer();Beta Was this translation helpful? Give feedback.
All reactions