python extension refactoring tools not working
See original GitHub issueThe Python extension refactoring tools “Extract Variable” “Extract Method” and “Sort Imports” do not do anything. These are the errors:
- Web Browser: New Edge
- Local OS: Windows
- Remote OS: Linux
- Remote Architecture: Linux
code-server --version
: 3.7.4 11f53784c58f68e7f4c5b3b8dae9407caa41725b
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Python refactoring fails in Visual Studio Code - Stack Overflow
The Python extension you have installed, uses the Rope library to perform refactoring/renaming of python variables and the like. So yes, you'll ...
Read more >Cannot get refactoring and renaming to work #5008 - GitHub
Renaming and getting references won't work. Few days ago, the plugin was working flawlessly. Environment data. VS Code version: 1.32.3
Read more >Refactoring source code in Visual Studio Code
Source code refactoring can improve the quality and maintainability of your project by restructuring your code while not modifying the runtime behavior. Visual ......
Read more >Refactoring Python code - YouTube
refactoring code isn't hard, when you've got a code extension Sourcery extension : https://marketplace.visualstudio.com/items?
Read more >Refactor code | PyCharm Documentation - JetBrains
If conflicts are expected after the refactoring, PyCharm displays a dialog with a brief description of the encountered problems.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I had the same problem and managed to solve it by following these steps: Remove all python related extensions Go to /config/extensions from the terminal delete the ms-python folder Restart the code-server Download the ms-python.python-2020.10.332292344 version from the github extension page and install manually Restart and configure the python interpreter
Hey there; tested this with the latest versions (code-server v3.10.2, python v2021.5.926500501, jupyter v2021.6.832593372) and it all works. Closing.