Tips for Using IntelliJ IDEA Effectively [Video]
Learn how to use IntelliJ IDEA to its full potential.
Join the DZone community and get the full member experience.Join For Free
I wanted to share my tips and tricks that and especially some keyboard shortcuts that make me more productive when using IntelliJ IDEA. IntelliJ is my favorite IDE and a very well-thought-out program in general, and despite trying to learn the countless shortcuts available, there are a few that give you the biggest productivity boost already.
My frequently used features and shortcuts that I showed in the video are:
Live templates (e.g.
public static void main( …)
Postfix completion (e.g.
Ctrl+Space: Basic code completion
Ctrl+Shift+Enter: Complete current statement
Alt+Enter: Show context actions (aka “quick fix”)
Ctrl+Alt+L: Reformat code (and optimize imports when activated)
Ctrl+B: Go to declaration/usage
Ctrl+Shift+B: Go to implementation(s)
Ctrl+U: Go to super method
Alt+Insert: Generate code
F2: Next highlighted error
Ctrl+Alt+V/F/C/P: Extract variable/field/constant/parameter
Ctrl+F12: File structure (e.g. list of methods)
Ctrl+N: Go to class
Ctrl+Shift+N: Go to file
Shift+Shift: Find all
Alt+1: Project view
Alt+F1+Enter: Jump to file in project view
Ctrl+Shift+F: Find in files
Alt+Left/Right: Switch open files
NerdTree in IdeaVIM
Ctrl+Shift+F10: Run current context
F7/F8/F9: (debug mode) Step into/Step over/Resume program
Published at DZone with permission of Sebastian Daschner, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.