IntelliJ IDEA UI Customization, Shortcut, and Template Configuration Guide
This article provides a comprehensive step‑by‑step guide for customizing IntelliJ IDEA’s toolbar, tooltips, themes, fonts, code‑completion behavior, auto‑import, tab layout, shortcut keys, comment styles, inspection settings, and documentation templates, helping developers improve productivity and maintain consistent code standards.
Show Toolbar
Enable the toolbar and tool buttons via View → Toolbar and View → Tool Buttons .
Set Mouse Hover Tooltip
Activate quick documentation on hover by checking Show quick documentation… in File → Settings → Editor → General .
Show Method Separator
Display a visual separator between methods by enabling the option in File → Settings → Editor → Appearance .
Ignore Case in Completion
Disable case‑sensitive suggestions via File → Settings → Editor → General → Code Completion , making completion suggestions independent of letter case.
Theme Settings
Switch between light and dark UI themes through File → Settings → Appearance & Behavior → Appearance .
Eye‑Protection Theme
Adjust the editor background color for eye comfort in the settings, or download additional themes from color‑themes.com and import the corresponding JAR files.
Auto Import Packages
Enable automatic import and removal of unused imports via File → Settings → Editor → General → Auto Import .
Display Multiple Tabs in One Row
Show several editor tabs on a single line by unchecking the Show tabs in single row option under File → Settings → Editor → General → Editor Tabs .
Set Font
Change the editor font size and family via File → Settings → Editor → Font to improve readability.
Configure Class and Method Documentation Templates
Define class and method comment templates to include author, description, date, parameters, and return information. Use File → Settings → Editor → File and Code Templates → Files for class comments and File → Settings → Editor → Live Templates for method comments. Example template:
/**
* @Author 小思
* @Description //TODO
* @Date $time$ $date$
* @Param $param$
* @return $return$
*/Show Code Horizontally or Vertically
Adjust tab placement for side‑by‑side code comparison by right‑clicking a tab and selecting the desired orientation.
Replace Shortcut Keys
Map Eclipse shortcuts to IntelliJ equivalents via File → Settings → Keymap , e.g., use Ctrl + D for line deletion (IntelliJ default is Ctrl + Y ).
Remove Italic from Comments
Disable italic styling for comments through File → Settings → Editor options.
Code Inspection Warning Level
Keep code inspections enabled to receive helpful warnings that improve code quality.
Project Directory – Collapse Empty Packages
Configure the project view to hide empty packages for a cleaner hierarchy.
Window Reset
Restore the default window layout using the Restore action when the IDE layout becomes disordered.
View Local Code History
Access the local VCS history to review changes made to files.
Quick Semicolon Completion
Press Ctrl + Shift + Enter to automatically insert a semicolon at the end of the current line.
Find Controller Methods Quickly
Use Ctrl + Alt + Shift + N to search for controller methods by name, e.g., typing /bill to locate related endpoints.
Brace Matching
Jump between matching braces with Ctrl + ] or Ctrl + [ when the cursor is on a brace.
Configuration Files Location
The IDE’s configuration files reside in the config directory, while the system folder stores runtime data and can be cleared after crashes.
Follow these settings to tailor IntelliJ IDEA for a smoother, more efficient Java development experience.
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.