Refactor Commands

Change Method Signature [Alt+Shift+C]

Refactor → Change Method Signature…

Convert Anonymous Class to Nested [No key binding]

Refactor → Convert Anonymous Class to Nested…

Convert Local Variable to Field [Alt+Shift+F]

Refactor → Convert Local Variable to Field…

Encapsulate Field [No key binding]

Refactor → Encapsulate Field…

Extract Constant [No key binding]

Refactor → Extract Constant…

Extract Interface [No key binding]

Refactor → Extract Interface…

Extract Local Variable [Alt+Shift+L]

Refactor → Extract Local Variable…

Extract Method [Alt+Shift+M]

Refactor → Extract Method…

Generalize Type [No key binding]

Refactor → Generalize Type…

Infer Generic Type Arguments [No key binding]

Refactor → Infer Generic Type Arguments…

Inline [Alt+Shift+I]

Refactor → Inline…

Introduce Factory [No key binding]

Refactor → Introduce Factory…

Introduce Parameter [No key binding]

Refactor → Introduce Parameter…

Move - Refactoring [Alt+Shift+V]

Refactor → Move…

Move Member Type to New File [No key binding]

Refactor → Move Member Type to New File…

Pull Up [No key binding]

Refactor → Pull Up…

Push Down [No key binding]

Refactor → Push Down…

Rename - Refactoring [Alt+Shift+R]

Refactor → Rename…

Show Refactor Quick Menu [Alt+Shift+T]

(No menu)

Use Supertype Where Possible [No key binding]

Refactor → Use Supertype Where Possible

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.