IntelliJ F6-based Refactoring Keyboard Shortcuts on OS X

March 14, 2015 Jared Carroll

Use powerful refactoring commands to safely make small and large-scale changes.

Undo any refactoring with command + Z.

Move

Move classes, methods, files, and directories with F6.

Move top-level class

Move top-level class

Move inner class

Move inner class

Move package

Move package

Rename

Rename classes, methods, variables, parameters, files, and directories with shift + F6.

Rename method

Type Migration

Migrate the type of fields, parameters, variables, and method return types with command + shift + F6. The cursor must be on the type.

Type migration

Change Signature

Change any part of a method signature with command + F6. The cursor must be on the method name.

Change signature

Add a parameter with command + N. Remove a parameter with Backspace or delete.

Re-order parameters with option + Up and option + Down.

About the Author

Biography

Previous
Continuous Delivery: Conception To Production In Pivotal Cloud Foundry
Continuous Delivery: Conception To Production In Pivotal Cloud Foundry

Top business and IT leaders realize their companies must evolve into software and data driven organizations...

Next
Talking Pivotal Cloud Foundry 1.6 With James Watters
Talking Pivotal Cloud Foundry 1.6 With James Watters

With a new version of Pivotal Cloud Foundry® (PCF) out, host Coté caught up with James Watters to discuss w...

SpringOne 2021

Register Now