New issue
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
x/tools/gopls: remove .orig files #35551
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
|
@ianthehat, is it ok for us to do this, or should we just put the |
The internal rename functionality does not generate .orig files, which is why this problem does not surface in VSCode. |
Change https://golang.org/cl/207347 mentions this issue: |
After |
Any chance new |
|
I've also tried |
Are you sure you've gotten both the x/tools module and the x/tools/gopls module at master? Essentially all of the important stuff (including this fix) is in x/tools, not x/tools/gopls. Cloning the whole repo and |
Thanks! After |
Glad this is resolved. Thanks, @zikaeroh! Just as a note, running |
What version of Go are you using (
go version
)?gopls updated about 6 hours ago from latest master
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I've used vim-go to rename some identifier in some
main.go
using gopls (feature released 6 hours ago).What did you expect to see?
Identifier renamed without any other side effects.
What did you see instead?
Identifier renamed, but also
main.go.orig
file was created. Author of this feature in vim-go said there is no option in gopls to avoid creating these backup files: fatih/vim-go#2366 (comment)Please add such an option, current behaviour is really annoying.
The text was updated successfully, but these errors were encountered: