IntelliJ Shortcuts and Cheat Sheet
As the most popular IDE in Java, IntelliJ IDEA Community and Ultimate editions play a huge part in modern Java development. But why? In this article, we look at some of the features in IntelliJ IDEA that make it so popular, compare IntelliJ IDEA Community vs. Ultimate, then share some of the most useful IntelliJ shortcuts for developers. Finally, at the end of the article, we’ll provide a link to our new IntelliJ cheat sheet PDF.
- What Is IntelliJ IDEA?
- IntelliJ Community vs. Ultimate
- IntelliJ Search Shortcuts
- IntelliJ File Navigation Shortcuts
- IntelliJ Text Editing Shortcuts
- IntelliJ Code Navigation Shortcuts
- IntelliJ Refactoring Shortcuts
- IntelliJ Cheat Sheet
What Is IntelliJ IDEA?
IntelliJ IDEA is an IDE used in Java development. IntelliJ IDEA has two versions, the free IntelliJ IDEA Community version and the paid IntelliJ IDEA Ultimate version.
IntelliJ IDEA is renowned a polished user experience and extensive functionality. While the free version, IntelliJ IDEA Community doesn’t offer the full suite of integrations, it’s still a powerful tool for Java development.
IntelliJ Pros and Cons
Compared to other IDEs, IntelliJ has many advantages. The most advantageous being the UI and UX features, alongside configurable code completion and templates.
|Live Templates||IntelliJ allows for templates, allowing developers to quickly insert common code constructs like loops, declarations, and more.|
|Code Completion||IntelliJ has customizable code completion features, which can make coding significantly faster.|
|Free Student and Teacher Licenses||IntelliJ offers free, non-commercial licenses for students and teachers in high school, college, or university.|
|Polished User Interface||IntelliJ has arguably the best user interface for Java IDEs, making it intuitive and efficient for Java developers.|
|Better Plugins||Because IntelliJ works with technology companies on their plugins, third-party extensions for IntelliJ mesh well with the UI.|
|Docker Integration||With so many people using Docker, having a polished Docker integration sets IntelliJ apart.|
|Support Documentation||Because IntelliJ has a large user base, they have a well-used support forum for issues. Ultimate users have 24/7 support.|
|Higher Performance Overhead||Compared to other Java IDEs, IntelliJ IDEA demands more resources to operate.|
|Price||While IntelliJ IDEA community is free, Ultimate will set you back $499/year for your first year.|
How Many People Use IntelliJ IDEA?
In our 2020 Java Developer Survey, 81.7% of respondents reported using IntelliJ IDEA. While Eclipse does retain some market share, IntelliJ IDEA is far and away the most popular IDE used in Java today.
Is IntelliJ IDEA Free?
IntelliJ IDEA Community version is free for private and commercial use, while the IntelliJ Ultimate edition runs $499/user for the first year, $399/user for the second year, and $299/user for each year thereafter.
Is IntelliJ IDEA Open Source?
The IntelliJ IDEA Community version is available via an open source Apache 2 license, with source code available on GitHub.
IntelliJ Community vs. Ultimate
Not everyone can afford a subscription for an IDE. But, luckily, IntelliJ offers both free and paid versions of IntelliJ IDEA. That said, the functionality and support developers get with IntelliJ Ultimate is worth the price of admission for many developers.
Included in that price of admission, of course, is dedicated support — which gets more and more important for larger, and more intricate development projects.
IntelliJ Community vs. Ultimate Support
The lists below show the feature comparisons listed on the JetBrains site, and show the different supported languages, frameworks, build tools, version control systems, application servers for both IntelliJ Community and IntelliJ Ultimate.
For frameworks, IntelliJ community only offers support for Android, Swing, and JavaFX. IntelliJ Ultimate supports Spring, Java EE, Grails, Micronaut and many others.
Build Tool Support
For build tools, IntelliJ Community supports Maven, Gradle, Ant, sbt, Bloop, and Fury. IntelliJ Ultimate adds further support for npm, Webpack, Gulp, and Grunt.
Version Control Support
For version control, IntelliJ Community supports Git, GitHub, Subverssion, Mercurial, and Team Foundation Server. IntelliJ Ultimate adds further support for Perforce version control systems.
For application server deployment, IntelliJ Community supports Docker and Docker Compose, while IntelliJ Ultimate adds additional support for Tomcat, TomEE, GlassFish, and other popular application servers.
IntelliJ community includes functionality and support for debugging, decompiling, custom themes, unit testing tools, and issue tracking integrations. On the IntelliJ Ultimate side, you get added functionality and support for profiling tools, HTTP, Database tools, diagrams, dependency structure matrix, duplicate detection, settings synchronization, and Kubernetes.
From a user experience perspective, IntelliJ Community vs Ultimate is a pretty even comparison. Obviously there's a significant difference in functionality, as noted in the sections above. But, in terms of intuitive design and user experience, both are exceptional.
The list of IntelliJ IDEA shortcuts is extensive! And, while we've provided a number of them below, they only represent part of the key bindings at your disposal. For a one-page version of these IntelliJ IDEA shortcuts, be sure to skip to the end of the page and download our one-page IntelliJ cheat sheet. It features all of the IntelliJ Windows and IntelliJ Mac shortcuts below, and a few more for good measure.
IntelliJ Search Shortcuts
The shortcuts below are used for searching within usages, files, projects, and code.
Ctrl + Alt + F7
⌘ + F7
Find usages (results)
Ctrl + Alt + Shift + F7
⌘ + Alt + F7
Find / Replace in file
Ctrl + F
⌘ + F / ⌘ + R
Find / Replace in projects
Ctrl + Shift + F
⌘ + Shift + F
IntelliJ File Navigation Shortcuts
The following IntelliJ shortcuts are for opening resources, types, lines, files, and switching tabs.
Open resource / Navigate to file
Ctrl + Shift + N
⌘ + Shift + O
Ctrl + N
⌘ + O
Go to line
Ctrl + G
⌘ + L
Ctrl + E
⌘ + E
Tab / File switcher
Ctrl + Tab
⌘ + Shift + [ / ]
IntelliJ Text Editing Shortcuts
These IntelliJ shortcuts for moving, deleting, copying, selecting, and formatting are great for editing text.
Alt + Shift + Up/Down
Alt + Shift + Up/Down
Ctrl + Y
⌘ + Y
Copy / Duplicate lines
Ctrl + D
⌘ + D
Ctrl + W
Alt + Up
Ctrl + Alt + L
⌘ + Alt + L
IntelliJ Code Navigation Shortcuts
These IntelliJ shortcuts for finding, assessing, inspecting, and opening code are must-use for code navigation.
Find usages / References in workspace
Alt + F7
Alt + F7
Find usages results
Ctrl + Alt + Shift + F7
⌘ + Alt + Shift + F7
Inspect code hierachy
Ctrl + Alt + H
Ctrl + Alt + H
Open / Navigate to declaration
Ctrl + Alt + B
⌘ + Alt + B
Open / Navigate to type hierarchy
Ctrl + H
Ctrl + H
Open / Navigate to member hierarchy
Ctrl + Shift + H
⌘ + Shift + H
IntelliJ Refactoring Shortcuts
These shortcuts for IntelliJ include shortcuts for renaming, and extracting variables and methods.
Ctrl + Alt + R
Shift + F6
Ctrl + Alt + T
⌘ + Alt + T
Extract local variable
Ctrl + Alt + V
⌘ + Alt + V
Extract / Assign to field
Ctrl + Alt + F
⌘ + Alt + F
Ctrl + Alt + M
⌘ + Alt + M
If you're an Eclipse user making the switch to IntelliJ IDEA, be sure to check out our IntelliJ tutorial for Eclipse users.
Looking for more Java cheat sheets? Be sure to check these out:
- Java Regex Cheat Sheet
- JUnit Cheat Sheet
- Java 9 Modules Cheat Sheet
- RxJava Cheat Sheet
- Java Generics Cheat Sheet
- SQL Cheat Sheet
- Maven Options Cheat Sheet
- Git Cheat Sheet
- Java 8 Cheat Sheet
- Docker Commands Cheat Sheet
- Java Collections Cheat Sheet
- Spring Annotations Cheat Sheet
- JVM Options Cheat Sheet
- Java Streams Cheat Sheet
Want to request a future cheat sheet? Message us on Twitter at @JRebel_Java.
Download the IntelliJ IDEA Cheat Sheet
Want all the IntelliJ keyboard shortcuts we listed above all on one convenient page? Click the link below to download our one-page IntelliJ cheat sheet pdf!
Try JRebel for IntelliJ IDEA
JRebel and IntelliJ combine for the most productive experience in Java development.
Want to try the JRebel IntelliJ plugin on your project? Try it free for 10 days with a JRebel trial.