Boost Your Java Productivity: 15 Must‑Have IntelliJ IDEA Plugins & Settings
This guide walks you through fifteen essential IntelliJ IDEA plugins—from AI‑driven code completion and shortcut hints to code quality checks—and shows how to create custom live templates and tweak global IDE settings, dramatically increasing Java development efficiency.
1. Essential Plugins
Codota : AI‑powered code suggestion that completes whole statements after typing a few letters and displays usage frequency based on your project.
Key Promoter X : Pops up shortcut hints in the lower‑right corner to help you learn IDE shortcuts quickly.
CodeGlance : Shows a miniature overview of the entire file, making navigation in large files easier.
Lombok : Generates boilerplate code (getters, setters, constructors, toString, hashCode, etc.) at compile time, removing the need to write them manually.
Alibaba Java Coding Guidelines : Checks code against Alibaba's Java style guide, highlights violations with colors, and shows inline suggestions.
CamelCase : Quickly convert between camelCase and snake_case using Shift+Alt+U.
MybatisX : Enhances MyBatis development with navigation, code generation and inspection features.
SonarLint : Real‑time static analysis that warns against using System.out, suggests using a logger, and enforces other quality rules.
Save Actions : Automatically optimizes imports, adds final to unchanged variables, inserts this where appropriate, and formats code on save.
CheckStyle : Provides another set of style checks similar to Alibaba's guidelines.
Grep Console : Customizes console output with colors and filters for easier log reading.
MetricsReloaded : Analyzes code complexity metrics such as cyclomatic complexity and provides visual feedback.
Statistic : Generates statistics about lines of code, classes, methods, etc.
Translation : Inline translation of selected text within the IDE.
Rainbow Brackets : Colors matching brackets with the same hue, helping to spot mismatched pairs instantly.
2. Create a Live Template for Faster Coding
Define a custom live template (e.g., type apr) that expands to an @Autowired statement, allowing you to generate frequently used code snippets with a single shortcut.
3. Global IDE Settings to Boost Efficiency
Optimize Import Settings : Adjust the import layout to match your preferred order and grouping.
Show Tabs on Multiple Lines : Disable single‑line tab display so multiple open files are visible simultaneously.
Place Block Comments Before Code : Move block comment markers to appear directly above the related code block.
Copy Whole Line on Selection : Enable copying the entire line even when only part of it is selected.
Case‑Insensitive Completion : Turn off case‑sensitivity so typing lower‑case s still suggests String.
Version‑Control Directory Colors : Adjust colors for VCS‑managed folders for clearer visual distinction.
Auto‑Insert Author & Timestamp : Configure new files to include a header with author name and creation date automatically.
Show Line Numbers & Method Separators : Enable line numbers and visual separators between methods for easier navigation.
These plugins and settings together can dramatically reduce repetitive tasks, improve code quality, and make IntelliJ IDEA a far more powerful environment for Java development.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
