Change Method Signature

Refactor the signature of a method

Press ⌘F6 (macOS), or Ctrl+F6 (Windows/Linux), to bring up the Change Signature dialog. You can add or remove method parameters here.

You can use ⌘N (macOS), or Alt+Ins (Windows/Linux), to add a new parameter.