April 22, 2020

IntelliJ Shortcuts and Cheat Sheet

Java Tools
Java Application Development

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 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.

IntelliJ Pros and Cons
Live TemplatesIntelliJ allows for templates, allowing developers to quickly insert common code constructs like loops, declarations, and more.
Code CompletionIntelliJ has customizable code completion features, which can make coding significantly faster.
Free Student and Teacher LicensesIntelliJ offers free, non-commercial licenses for students and teachers in high school, college, or university.
Polished User InterfaceIntelliJ has arguably the best user interface for Java IDEs, making it intuitive and efficient for Java developers.
Better PluginsBecause IntelliJ works with technology companies on their plugins, third-party extensions for IntelliJ mesh well with the UI.
Docker IntegrationWith so many people using Docker, having a polished Docker integration sets IntelliJ apart.
Support DocumentationBecause IntelliJ has a large user base, they have a well-used support forum for issues. Ultimate users have 24/7 support.
Higher Performance OverheadCompared to other Java IDEs, IntelliJ IDEA demands more resources to operate.
PriceWhile 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.

2020 Java Technology Report - Java IDE Usage Chart

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.


What Java Tools Are You Using?

Our 2021 Java Developer Productivity Report looks at the technologies Java developers are using to develop programs today, and gives key insights into the problems they face during development.


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.

Language Support

IntelliJ Ultimate supports a larger breadth of languages than IntelliJ Community, including JavaScript, SQL, CSS, Python, PHP, and more.

Framework Support

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.

Deployment Support

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.

Other Integrations

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.

User Experience

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.

IntelliJ Shortcuts

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.

The shortcuts below are used for searching within usages, files, projects, and code.

IntelliJ Search Shortcuts




Find usages

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
⌘ + Shift + R

Find next



IntelliJ File Navigation Shortcuts

The following IntelliJ shortcuts are for opening resources, types, lines, files, and switching tabs.

IntelliJ File Navigation Shortcuts



Open resource / Navigate to file

Ctrl + Shift + N

⌘ + Shift + O

Open type

Ctrl + N

+ O

Go to line

Ctrl + G

⌘ + L

Recent files

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.

IntelliJ Text Editing Shortcuts




Move lines

Alt + Shift + Up/Down

Alt + Shift + Up/Down

Delete lines

Ctrl + Y

⌘ + Y

Copy / Duplicate lines

Ctrl + D

⌘ + D

Select identifier

Ctrl + W

Alt + Up

Format code

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.

IntelliJ Code Navigation Shortcuts




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.

IntelliJ Refactoring Shortcuts





Ctrl + Alt + R

Shift + F6

Surround with

Ctrl + Alt + T

⌘ + Alt + T

Extract local variable

Ctrl + Alt + V

⌘ + Alt + V

Extract / Assign to field

Ctrl + Alt + F

⌘ + Alt + F

Extract method

Ctrl + Alt + M

⌘ + Alt + M

Additional Resources

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:

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.