I use the Generate function in the context menu to create my getter and setter methods. But there seems no way to tell Intellij to place the generated methods after the last method in the file ie at the bottom of the class definition. This is possible in Eclipse. Anybody know how to do it automatically in Intellij?
Intellij-idea – How place getter/setter methods at the bottom of a class definition in intellij
intellij-idea
Related Topic
- Intellij-idea – IntelliJ shortcut to show a popup of methods in a class that can be searched
- Java – Intellij IDEA Java classes not auto compiling on save
- Java – Intellij Code Completion for all setter/getter methods of local variable object
- Intellij-idea – Intellij IDEA – Generate (Alt + Insert)
- Java – what software can help me to unwar a war file and get the java source code within it
Best Answer
First of all a little hint. IntelliJ is designed to use without a mouse, so I prefer using the keyboard-shortcut Alt + Insert for code generating.
I don't know any possibility to generally define the place for inserting generated code. I recommend to place the cursor there, where you want to insert generated code and then generate it.