In this tutorial
IntelliJ IDEA is the most popular IDE among Java developers, and every developer we interviewed named it as their favourite environment. Out of the box it is already powerful, but a few well-chosen plugins can make you noticeably faster.
Here are five plugins that can help streamline your workflow, plus how to install them and get the most out of each.
How to install a plugin
- Open Settings (File → Settings on Windows/Linux, IntelliJ IDEA → Settings on macOS).
- Go to Plugins and select the Marketplace tab.
- Search for the plugin name, click Install and restart the IDE if asked.
Only install plugins you will actually use. Each one uses some memory and can slow down start-up.
1. Key Promoter X
What it does: whenever you use the mouse for an action that has a keyboard shortcut, Key Promoter X shows a small pop-up with that shortcut. It also keeps a count of which mouse actions you use most.
Why it helps: keyboard shortcuts are one of the biggest productivity boosts in any IDE, but nobody learns them by reading a list. This plugin teaches you the shortcuts for the actions you actually perform, at the moment you perform them.
Shortcuts worth learning first (Windows/Linux, with macOS in brackets):
- Search everywhere: Shift twice
- Find action: Ctrl+Shift+A (Cmd+Shift+A)
- Generate code (constructors, getters, equals/hashCode): Alt+Insert (Cmd+N)
- Reformat code: Ctrl+Alt+L (Cmd+Option+L)
- Rename everywhere: Shift+F6
- Show quick fixes: Alt+Enter (Option+Enter)
Alt+Enter alone will save you hours.
2. String Manipulation
What it does: adds a large set of text actions: switch case (camelCase, snake_case, kebab-case, UPPER_CASE), sort and de-duplicate lines, escape and unescape strings for Java, JSON or HTML, increment numbers, and more.
Why it helps: converting customer_first_name from a database column into customerFirstName for a Java field, or turning a list of values into constants, becomes one keystroke instead of manual retyping. Select text and press Alt+M (Option+M on macOS) to open the menu.
3. Rainbow Brackets
What it does: colours matching pairs of brackets, braces and parentheses in different colours, so nested structures are easy to follow.
Why it helps: deeply nested lambdas, streams and JSON quickly become a soup of )})});. With matching colours you can see at a glance which bracket closes which block. It is especially helpful when you are learning, because a missing or extra bracket is one of the most common compile errors.
Some advanced features need a paid licence, so check the plugin’s Marketplace page. The core bracket colouring is what most people need.
4. SonarLint (SonarQube for IDE)
What it does: analyses your code as you type and highlights bugs, security vulnerabilities and “code smells”, with an explanation of why each issue matters and how to fix it. The plugin has recently been renamed SonarQube for IDE, but it is still free.
Why it helps: it catches problems before code review, things like:
- resources that are never closed (use try-with-resources; see our exceptions guide),
- possible
NullPointerExceptions, - comparing strings with
==, - empty
catchblocks that swallow exceptions, - methods that are too complex.
The explanations make it a great learning tool. You learn the rules of clean code by fixing real issues in your own work. If your team uses SonarQube or SonarCloud, you can connect the plugin so it uses the same rules as your CI pipeline.
5. Lombok
What it does: integrates Project Lombok with IntelliJ, so the IDE understands Lombok annotations that generate boilerplate code at compile time.
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer {
private Long id;
private String name;
private String email;
}
@Data generates getters, setters, toString, equals and hashCode; the other two annotations generate constructors. Without IntelliJ’s Lombok support, the IDE would show errors wherever you call customer.getName(), because the method does not exist in the source code.
Note: recent versions of IntelliJ IDEA include Lombok support out of the box, so you may not need to install anything. You still need to add Lombok as a dependency in your Maven or Gradle build and make sure annotation processing is enabled (Settings → Build, Execution, Deployment → Compiler → Annotation Processors).
A word of caution: for simple immutable data classes, Java’s built-in records now do much of what Lombok’s @Value and @Data did, with no extra dependency. Many teams use records for DTOs and keep Lombok for JPA entities and builders.
Bonus: built-in features people forget
Before installing more plugins, make sure you are using what IntelliJ already offers:
- The debugger: set breakpoints, inspect variables and step through code instead of adding
System.out.printlneverywhere. It is the fastest way to fix the errors you find when reading a stack trace. - Live templates: type
psvm,soutorforiand press Tab. - Refactorings: extract method (Ctrl+Alt+M), extract variable (Ctrl+Alt+V), inline (Ctrl+Alt+N).
- The built-in HTTP client: test your REST endpoints from
.httpfiles without leaving the IDE. It is useful for our Spring Boot API tutorial.
Summary
Adding these plugins to your IntelliJ IDEA setup can noticeably speed up your coding and improve your overall development experience:
- Key Promoter X teaches you keyboard shortcuts.
- String Manipulation transforms text in one keystroke.
- Rainbow Brackets makes nested code readable.
- SonarLint / SonarQube for IDE catches bugs and teaches clean code.
- Lombok removes boilerplate (support is now built in).
Which plugin can’t you live without? Tell us in the comments.