Refactoring a highlited code to a new file ? #6025
Unanswered
vincrichard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I try to search the issue and discussion, with no luck, so I guess this features does not exist, I just want to make sure if I did not miss anything.
Is there a way in VS Code to extract a set of code, let say a class, to a new file ? The expected functionality will be similar to the refactoring of a class or variable name, where all imports in the project would be updated. All imports, necessary, will also be moved to the file and deleted from the previous file if not needed any more.
Best regards, and thank you for the hard work on vscode-python !
Beta Was this translation helpful? Give feedback.
All reactions