Boost Your Java Productivity: 15 Must‑Have IntelliJ IDEA Plugins
This guide lists fifteen essential IntelliJ IDEA plugins—from AI‑powered code completion and shortcut helpers to code quality and formatting tools—plus tips for custom live templates and global IDE settings that together can multiply a Java developer's efficiency.
Introduction
After installing IntelliJ IDEA, applying a set of initialization steps can increase development efficiency dramatically.
1. Top 15 IntelliJ IDEA Plugins
1. Codota – AI Code Completion
Type a few letters and Codota suggests a full statement, showing usage frequency based on the project’s code patterns.
2. Key Promoter X – Shortcut Hints
Shows a popup in the lower‑right corner with the corresponding shortcut for any action, helping you master IDE shortcuts quickly.
3. CodeGlance – Code Minimap
Displays a thumbnail overview of the entire file, making navigation easier when dealing with large codebases.
4. Lombok – Boilerplate Reduction
Generates getters, setters, constructors, toString, hashCode, and more, eliminating repetitive code in entity classes.
5. Alibaba Java Coding Guidelines – Code Inspection
Checks code against Alibaba’s Java standards, highlights issues with colored markers, and provides inline suggestions.
6. CamelCase – Naming Style Converter
Quickly toggle between camelCase and snake_case using Shift+Alt+U, handy for bulk renaming.
7. MybatisX – MyBatis Assistant
Provides powerful MyBatis support, including mapper navigation and SQL execution.
8. SonarLint – Code Quality Checker
Detects bad practices such as using System.out instead of a logger, and suggests improvements.
9. Save Actions – Automatic Refactoring
Optimizes imports, adds final to unchanged variables, inserts this where appropriate, and enforces consistent formatting.
10. CheckStyle – Style Enforcement
Similar to the Alibaba plugin, it checks code style against predefined rules.
11. Grep Console – Console Output Styling
Customizes console output with colors and patterns for easier log reading.
12. MetricsReloaded – Complexity Analysis
Analyzes code complexity metrics to identify potential refactoring targets.
13. Statistic – Code Statistics
Provides quick statistics on lines of code, classes, methods, etc.
14. Translation – Inline Translator
Translates selected text directly within the IDE.
15. Rainbow Brackets – Colorful Brackets
Shows matching brackets in the same color, improving readability.
2. Custom Live Templates for Faster Coding
By defining templates such as typing apr to expand into @Autowired, you can generate common code snippets instantly, tailoring them to your coding habits.
3. Global Configuration Tweaks to Boost Efficiency
1. Optimize Import Settings
Adjust import rules to automatically add missing imports and organize them.
2. Disable Single‑Line Tab Display
Show multiple lines in the tab bar for easier file navigation.
3. Move Double‑Slash Comments to Code Header
Reposition comments for cleaner code appearance.
4. Copy Entire Line with Selection
Configure the IDE to copy the whole line even when only part of it is selected.
5. Disable Case‑Sensitive Matching
Allow suggestions for lower‑case inputs like s to show String.
6. Enhance VCS Directory Colors
Adjust colors for version‑control directories for better visual distinction.
7. Auto‑Insert Author and Timestamp on File Creation
Configure a template to add author name and creation time automatically.
8. Show Line Numbers and Method Separators
Enable line numbers and visual separators between methods for easier navigation.
These plugins and settings together transform IntelliJ IDEA into a highly efficient development 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.
