We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This is similar to #11897, but for extracting to function/variable instead of snippet completion.
rust-analyzer version: rust-analyzer 1 (ba28e19 2022-10-29)
rustc version: rustc 1.62.0-nightly (30f386087 2022-05-05)
relevant settings: None, I think
Example:
fn main(){ let a = "\\ $0"; }
selecting the enther let a line and doing extract to variable results in
let a
extract to variable
fn main(){ let var_name = &"\ "; let a = var_name; }
I.e., both the \\ and the $0 are replaced wrongly.
\\
$0
The text was updated successfully, but these errors were encountered:
fix: escape replacement text for var/func extraction
fe329ea
close rust-lang#13558
47e268a
Fixed in #16467
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
This is similar to #11897, but for extracting to function/variable instead of snippet completion.
rust-analyzer version: rust-analyzer 1 (ba28e19 2022-10-29)
rustc version: rustc 1.62.0-nightly (30f386087 2022-05-05)
relevant settings: None, I think
Example:
selecting the enther
let a
line and doingextract to variable
results inI.e., both the
\\
and the$0
are replaced wrongly.The text was updated successfully, but these errors were encountered: