Refactor rename broken in IDEA 2024.4.1
I'm trying to refactory names in a python file using IDEA 2024.4.1. This used to work, but no longer is. After pressing Shift-F6 and typing in the name I want the target variable to become, when I hit enter the name new reverts to the original name. This is frustrating.
There have been a few other posts but their solutions don't work or are not (Scala formatter) are not available to me.
Any suggestions how to fix this? This did use to work.
IntelliJ IDEA 2024.1.4 (Ultimate Edition)
Build #IU-241.18034.62, built on June 20, 2024
Licensed to Drillinginfo, Inc.
Runtime version: 17.0.11+1-b1207.24 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
debugger.new.tool.window.layout=true
ide.experimental.ui=true
Non-Bundled Plugins:
org.intellij.plugins.hcl (241.17890.8)
com.jetbrains.space (241.18034.4)
org.jetbrains.plugins.go (241.17011.2)
Pythonid (241.18034.62)
uk.co.itmoore.intellisubsteps (1.1.0)
com.intellij.ml.llm (241.18034.12)
com.jetbrains.packagesearch.intellij-plugin (241.0.11)
io.snyk.snyk-intellij-plugin (2.8.10)
intellij.jupyter (241.18034.55)
Kotlin: 241.18034.62-IJ
Please sign in to leave a comment.
I have a video I can upload showing this.
I tried to reproduce the issue in a simple python file, but couldn't:
Could you please share the mentioned screen recording? You can upload it here: https://uploads.jetbrains.com, just provide the uploaded file ID. Could you try to temporarily disable all downloaded/non-bundled plugins? Also, please share a sample project/file to try and reproduce the issue on our end.
Thanks!
Upload ID: Upload id: 2024_08_07_29F6EAbXVzzztHdxkVpWSB (files: 2024-08-06_14-20-14.mp4, python.iml)
The project is one that I do a bunch of rapid prototyping in python.
And this morning it is working for me.
Thank you for the video recording. Were there any changes from yesterday to today?
Did you maybe update the IDE or some plugin? Is it usually sporadic - sometimes it works fine and sometimes it fails as shown in the screen recording?
I did turn off Github co-pilot, potentially suspecting that perhaps it was causing the issue. After rebooting I still had the problem. The problem went away the next day, but unfortunately I cannot correlate that with any actions of mine.
This can be closed.
Thank you for the information. Glad to hear it is working as expected now.
If the issue reoccurs, please let us know.