JetBrains DataSpell 2021.1 Help

Refactoring

FunctionShortcutDescription
RenameShift+F6Rename the selected file, class, field, method, etc. and change all references to it accordingly.
Change Method SignatureCtrl+F6Change the signature of the selected method and update all the corresponding method calls.
MoveF6Move the selected class, package or static member to another package or class and update all the corresponding references.
CopyF5Create a copy of the selected class, file or directory in the same or different directory or package.
CloneCreate a copy of the selected class in the same package.
Safe DeleteAlt+DeleteDelete the selected class, method or field checking its usages.
Extract MethodCtrl+Alt+MTurn the selected code fragment into a method.
Introduce VariableCtrl+Alt+VCreate a new variable and use the selected expression as its value.
Introduce FieldCtrl+Alt+FCreate a new field and use the selected expression as its value.
Introduce ConstantCtrl+Alt+CCreate a new constant (static final field) and use the selected expression as its value.
Introduce ParameterCtrl+Alt+PTurn the selected expression into a new method parameter.
InlineCtrl+Alt+NInline the selected method or variable.
Last modified: 08 March 2021