Boost Your Java Productivity: 15 Essential IntelliJ IDEA Plugins & Tips
This guide walks you through fifteen indispensable IntelliJ IDEA plugins and configuration tweaks—ranging from smart code completion and shortcut hints to code quality checks and UI customizations—that together can dramatically accelerate Java development and streamline daily coding tasks.
1. Install Plugins
Codota – AI‑powered code completion
Type a few letters and Codota suggests full statements, showing usage frequency based on your project’s code patterns.
Key Promoter X – Shortcut hints
Displays a popup with the corresponding shortcut whenever you use a menu action, helping you memorize key bindings quickly.
CodeGlance – Code minimap
Shows a thumbnail overview of the entire file on the right side, making navigation in large files much easier.
Lombok – Reduce boilerplate
Automatically generates getters, setters, constructors, toString, hashCode, and other common methods, keeping your code concise.
Alibaba Java Coding Guidelines – Code style inspection
Checks your code against Alibaba’s Java standards, highlights violations with colored hints, and offers quick fixes.
CamelCase – Naming conversion
Switches between camelCase and snake_case with Shift+Alt+U, useful for bulk renaming.
MybatisX – MyBatis productivity
Provides code assistance, mapper navigation, and SQL preview for MyBatis projects.
SonarLint – Real‑time code quality
Detects bugs, code smells, and security issues on the fly, recommending logger usage over System.out.
Save Actions – Automatic code cleanup
Optimizes imports, adds final to unused variables, inserts this where appropriate, and enforces consistent formatting.
CheckStyle – Style enforcement
Similar to Alibaba’s guidelines, it checks Java code against configurable style rules.
Grep Console – Custom console output
Allows you to color‑code and format console logs for better readability.
MetricsReloaded – Complexity analysis
Shows cyclomatic complexity, maintainability index, and other metrics directly in the IDE.
Statistic – Code statistics
Provides quick counts of lines, classes, methods, and other code statistics.
Translation – Inline translation
Translates selected text directly within the editor.
Rainbow Brackets – Colorful brackets
Displays matching brackets in the same color, making nested structures easier to read.
2. Create Live Templates for Faster Coding
Define abbreviations (e.g., typing apr expands to @Autowired) to generate common code snippets instantly.
3. Global Settings to Boost Efficiency
Optimize import settings
Show tabs in multi‑line mode
Allows more files to be visible simultaneously.
Move line comments to the code start
Copy whole line on selection
Enables copying an entire line even if only part of it is selected.
Disable case‑sensitive matching
After unchecking, typing a lowercase s still suggests String.
Improve VCS directory color scheme
Auto‑insert author and timestamp on new files
Show line numbers and method separators
What other IntelliJ IDEA tricks or plugins have you discovered that boost efficiency?
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.
Java Backend Technology
Focus on Java-related technologies: SSM, Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading. Occasionally cover DevOps tools like Jenkins, Nexus, Docker, and ELK. Also share technical insights from time to time, committed to Java full-stack development!
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.
