vendredi 22 juillet 2016

IntelliJ 2016.2 Getter and Setter code generation?

When you're inside a Java class you can press

ALT+Insert --> Generate... --> Getter and Setter

In an older version of Intellij I remember that when I created a "getter and setter" it was created where the cursor is in that moment that Alt+Insert was pressed. But now they are created under the fields the "getter and setter" are created for.

How can you change this behavior so that getter and setter is created where the cursor is in that moment that Alt+Insert was pressed?

Aucun commentaire:

Enregistrer un commentaire