Auto Refactoring - move local variable as function argument with default value [Python] #5960
yamichael
started this conversation in
Enhancement
Replies: 1 comment
-
Moving this issue to discussions as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to suggest the following feature: when linting a local variable, constant or literal, VSCode could suggest when hitting
ctrl+.
(extract), to refactor as a function parameter, with default value as set in it.Example:
local variable to argument
constant to argument
current behavior - for the example above, only extract method and extract variable are available:
Beta Was this translation helpful? Give feedback.
All reactions