The in-place refactorings are enabled in IntelliJ IDEA by default. So, if you haven't changed this setting, the Extract Constant refactoring for Java is performed in-place, right in the editor:
- Place the cursor within the expression or declaration of a variable to be replaced by a constant.
- Do one of the following:
Read full article from refactoring extract constant
No comments:
Post a Comment