IntelliJ IDEA High‑Efficiency Configuration, Essential Shortcuts, and Plugin Recommendations
This article presents a comprehensive guide to configuring IntelliJ IDEA for faster development, including case‑insensitive code completion, auto‑import settings, font‑size zoom, tab and line‑number display, essential keyboard shortcuts, code‑editing efficiencies, debugging features, and a curated list of useful plugins.
Introduction
The author shares practical tips gathered from training new developers on IntelliJ IDEA, aiming to help users discover hidden features and improve productivity.
High‑Efficiency Configuration
1. Case‑Insensitive Code Completion
Settings → Editor → General → Code Completion (set Case sensitive completion to None for older versions).
2. Auto‑Import
Settings → Editor → General → Auto Import
3. Font Size Zoom with Ctrl + Mouse Wheel
Settings → Editor → General → Change font size (Zoom) with Ctrl+Mouse wheel
4. Tab Display
Disable Show Tabs In Single Row to keep all tabs visible.
5. Show Line Numbers
Settings → Editor → General → Appearance → Show Line Numbers
Essential Shortcuts (★★)
Search
Shortcut
Description
Ctrl + F
Find in current file
Ctrl + R
Replace in current file
Shift + Ctrl + F
Find in project
Shift + Ctrl + R
Replace in project
Shift + Shift
Search everywhere
Ctrl + N
Find class
Ctrl + Shift + N
Find file
Ctrl + Shift + Alt + N
Find symbol
Navigation
Shortcut
Description
Ctrl + E
Recent files
Ctrl + Tab
Switch file
Ctrl + Alt + ←/→
Navigate to previous/next cursor location
Alt + ←/→
Switch sub‑tab
Ctrl + G
Go to line
Coding‑Related Shortcuts
Shortcut
Description
Ctrl + W
Expand selection
(Shift + Ctrl) + Alt + J
Select all occurrences of the current word
Ctrl + C / Ctrl + X / Ctrl + D
Copy, cut, duplicate line
Ctrl + Y
Delete line
Ctrl + Shift + Enter
Complete statement
Alt + Enter
Show intention actions / quick‑fixes
Alt + ↑/↓
Navigate to method hierarchy
F2
Next error or warning
Alt + Insert
Generate getters/setters, constructors, etc.
Ctrl + Shift + L
Reformat code
Shift + F6
Rename symbol
Ctrl + F6
Change method signature
Code‑Editing Efficiency (★★)
File and Code Templates
Settings → Editor → File and Code Template lets you view and edit built‑in templates and file headers.
Live Templates
Define shortcuts such as sout → System.out.println(); and psvm → public static void main(String[] args) {} via Settings → Editor → Live Templates . Custom templates can be created in a personal group (e.g., MyGroup ).
Debugging Features (★★★)
Conditional Breakpoints
Set breakpoints with conditions to stop only when specific criteria are met.
Force Return
Force a method to return a chosen value directly from the breakpoint.
Simulate Exception
Throw an exception from a breakpoint to test error handling.
Evaluate Expression
Modify variable values on‑the‑fly during a debugging session.
Plugin Recommendations
Useful plugins for Java development include:
Alibaba Java Coding Guidelines
FindBugs / PMD (code defect scanning)
InnerBuilder (quick builder generation)
Lombok plugin
Maven Helper (dependency analysis)
Rainbow Brackets (colorful bracket matching)
String Manipulation
Translation (in‑IDE translation)
GenerateAllSetter
GenerateSerialVersionUID (Alt + Insert)
GsonFormat
RestfulToolkit (API navigation and testing)
Material Theme UI
MyBatis Log Plugin (pretty‑print SQL)
Free MyBatis
Plugins can be installed via File → Settings → Plugins → Browse plugin repository or by downloading a zip and using Install from disk for offline environments.
Reference
Original tutorial repository: https://github.com/judasn/IntelliJ-IDEA-Tutorial
Architecture Digest
Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.
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.