How can I rename a symbol across files (leveraging the LSP)? #4543
-
Apologies in advance if there's some documentation that already answers this I haven't picked up. All I have managed is;
What am I doing wrong? =) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The LSP hopefully did rename the functions over all the files, BUT it did not save those files for you. If you press Does that fix it? Happy Halloween :) |
Beta Was this translation helpful? Give feedback.
The LSP hopefully did rename the functions over all the files, BUT it did not save those files for you.
If you press
space D
(open workspace diagnostic picker) or maybe G on the old version of Helix, it will probably show you all the errors in the files that have not been saved. You can go to each file using the picker and save them, Rust Analyzer needs the file to be saved to make the error go away.Does that fix it? Happy Halloween :)