[New Feature]: Extract to configurable code action #42984
Labels
Area/CodeAction
Language Server Code Actions
Team/LanguageServer
Language Server Implementation related issues. #Compiler
Type/NewFeature
Milestone
Description
This code action can be broken into two parts.
This part functions similarly to the "extract to local variable" code action. When a single literal value is selected, the user will be prompted with a rename popup to update the configurable variable name.
Before Applying the Code Action:
After Applying the Code Action:
In this part, all arguments within the selected cursor range will be extracted into configurable variables. The names of these configurable variables will be derived from the function parameter names.
Before Applying the Code Action:
After Applying the Code Action:
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
#41345
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: