Intellij

Shortcuts

Alt+Enter
automatically add annotation and corresponding import
Ctr+Shift+F9
compile the classes
Ctr+Shift+F9
Run the classes