Docs/Editor/Refactoring

Code Refactoring

Rename

F2 to rename a symbol — all references are automatically updated.

Extract

  • Extract method/function
  • Extract variable
  • Extract constant
  • Keyboard Shortcuts

    You can bind keyboard shortcuts to specific Code Actions.