Boost Your Java Productivity: 15 Must-Have IntelliJ IDEA Plugins
This guide presents fifteen essential IntelliJ IDEA plugins—from code completion and shortcut hints to code quality checks and live templates—that dramatically streamline Java development, improve code readability, enforce standards, and boost overall productivity for developers.
After installing IntelliJ IDEA, applying the following configurations can increase development efficiency dramatically.
1. Codota – AI‑powered code completion
Type a few letters and Codota suggests full statements, showing usage frequency based on learned patterns from your own project code.
2. Key Promoter X – Shortcut hints
Shows a pop‑up in the bottom‑right corner with the corresponding shortcut whenever you use a command, helping you master shortcuts quickly.
3. CodeGlance – Code minimap
Displays a thumbnail view of the entire file, making navigation easier when the codebase is large.
4. Lombok – Boilerplate reduction
Generates getters, setters, constructors, toString, hashCode, etc., so you no longer need to write them manually.
5. Alibaba Java Coding Guidelines – Code style inspection
Checks code against Alibaba’s Java standards, highlights issues with colored markers, and provides inline suggestions.
6. CamelCase – Naming style conversion
Quickly switch between camelCase and snake_case using ⇧+⌥+U, useful for bulk renaming.
7. MybatisX – MyBatis assistance
Provides efficient operations and navigation for MyBatis mapper files.
8. SonarLint – Real‑time code quality analysis
Warns against using System.out, recommends logger usage, and offers other quality improvements.
9. Save Actions – Automatic code formatting
Optimizes imports, adds final modifiers to unchanged variables, inserts "this" where appropriate, and enforces consistent formatting.
10. CheckStyle – Code style checking
Similar to the Alibaba plugin, it enforces standard Java coding conventions.
11. Grep Console – Custom console output
Allows you to define patterns and colors for console logs, making debugging clearer.
12. MetricsReloaded – Complexity analysis
Analyzes code metrics such as cyclomatic complexity and provides visual feedback.
13. Statistic – Code statistics
Shows line counts, file counts, and other quantitative information about the project.
14. Translation – Inline translation
Translates selected text directly within the IDE.
15. Rainbow Brackets – Colorful bracket matching
Displays matching brackets in the same color, improving readability of nested code.
Custom Live Templates
Define shortcuts like typing apr to expand into Autowired statements, speeding up repetitive code writing.
Global Configuration Tweaks
1. Optimize import settings
Adjust import rules to reduce unnecessary imports.
2. Disable single‑line tab display
Show multiple lines per tab for better file overview.
3. Move double‑slash comments next to code
Place comments directly above the related code block.
4. Enable line‑wise copy
Copy an entire line without needing to select the whole line.
5. Turn off case‑sensitive matching
Allows suggestions for class names even when typed in lower case.
6. Color‑code version‑control directories
Visually distinguish version‑control folders.
7. Auto‑insert author and timestamp on new files
Templates add metadata automatically.
8. Show line numbers and method separators
Improves navigation within large files.
These plugins and settings together create a highly efficient IntelliJ IDEA environment for Java developers.
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.
