JetBrains DataSpell 2021.1 Help

Extract Method Dialog

Refactor | Extract Method
Ctrl+Alt+M

In the JavaScript context, the title of the dialog box may change to Extract Function.

ItemDescription
NameIn this text box, specify the name of the function or method to be generated on the basis of the selected source code.
ParametersIn this area, select parameters to be passed to the new method/function.
Move Up/Down
Icons actions previous occurenceIcons actions next occurence
Use these buttons to change the order of the parameters.
Signature previewIn this read-only field, view the declaration of the new method/function.
Last modified: 08 March 2021