IntelliJ IDEA

Quick Reference

Description Shortcut Comment
Compile/Run/Debug
Make Project Ctrl-F9 You can change the project settings to that artefacts (such as .jar files) are generated at the same time as make.
Run (without debugging) Shift-F10 Runs the last active configuration. Debugging IS NOT enabled.
Run (with debugging) Shift-F9 Runs the last active configuration. Debugging IS enabled.
Step Over F8 Use to “step over” current line of code when debugging. Step-over is one of the most commonly used debug features.
Step Into F7 Use to “step into” the current line of code while debugging. This will enter the method (if any) on the current line of code.
View
Show Project Window Alt-1 Shows the file structure of the project (by default this on the left-hand side of the screen).
Show Code Structure Window Alt-7 This gives a great overview of the class inside the current file (e.g. it lists all the variables and methods).
Quick Documentation Ctrl-Q  Great for checking up on what a class or method does as you are about to use it.
Code
Reformat Code Ctrl-Alt-L  Corrects the coding indentation of the current file. Great for automatically tidying up code after serious refactoring has taken place.

Posted: June 27th, 2016 at 9:16 am
Last Updated on: November 24th, 2017 at 12:42 pm