Now I'm using IntelliJ, it's great. But there is one annoyance: It always place generated getter setter above the actual field, how can I change this behavior?
Press Ctrl+Alt+S to open the IDE settings and select Editor | Code Style. In the editor, select the code entries you want to rearrange and from the main menu, select Code | Rearrange Code.
Automatically detect indentsPress Ctrl+Alt+S to open the IDE settings and select Editor | Code Style. Select the Detect and use existing file indents for editing checkbox. Apply the changes and close the dialog.
Open the Project Structure dialog (File | Project Structure Ctrl+Alt+Shift+S ). In Project Settings, select Project and in the Project compiler output field, specify the corresponding path. For modules, select Modules, the module you need and the Paths tab.
Put your mouse pointer below all the fields. ALT + INSERT -> Getter and Setter -> Select Fields -> OK. Should be it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With