Refactoring in the DVT Eclipse IDE - How To Perform Extract To Method Refactoring


This video from shows you how to extract a block of actions to a separate new method. This way you keep methods shorter and easier to understand. Just select a code fragment and press Ctrl+1 - a new method with adequate arguments is created, and the selection is replaced with a method call.

Explore the design and verification tools:
Or request a license: