IntelliJ IDEA Tips and Configuration Guide
This article provides a comprehensive collection of IntelliJ IDEA configuration steps, shortcuts, and productivity tips—including Maven setup, code‑style adjustments, keymap changes, plugin installation, presentation mode, inject‑language usage, and common troubleshooting—to help developers work more efficiently in Java projects.
This guide lists practical IntelliJ IDEA settings and shortcuts for Java developers.
1. Maven configuration
File → Settings → search "maven" Maven home directory – set the bin folder path User settings file – specify the settings.xml location Local repository – define the local Maven cache
2. Code line‑width and automatic wrapping
File → Settings → Editor → Code Style → Right margin (columns) Enable "Wrap when typing reaches right margin"
3. Case‑sensitive completion
File → Settings → Editor → Code Completion → set "Case sensitive completion" to NONE
4. Force Maven dependency refresh
Delete libraries in Project Settings → clean Maven project → Reimport
5. Default IDEA configuration location
C:\Users\ username \.IntelliJIdea14
6. Hide unwanted files/folders
File → Settings → File Types → add patterns to "Ignore files and folders"
7. Switch to Eclipse keymap
File → Settings → Keymap → select "Eclipse"
8. Show line numbers
File → Settings → Editor → General → Appearance → Show line numbers
9. Generate serialVersionUID for Serializable classes
Preferences → Editor → Inspections → Serialization issues → enable Place cursor on class name and press Alt+Enter
10. Presentation mode
Alt+V → View → Enter Presentation Mode
11. Inject language for JSON strings
Place cursor inside quotes → Alt+Enter → Inject language or reference → select JSON
12. Symbol search
Ctrl+Shift+Alt+N to locate symbols by partial name
13. Resolve shortcut conflicts (e.g., Ctrl+Alt+↑)
Right‑click desktop → Graphics Options → Keyboard shortcuts → disable conflicting shortcuts
14. Disable Javadoc formatting to keep comments unchanged
Uncheck "Enable Javadoc formatting" in code‑style settings
These tips cover most everyday IDE tasks, from environment setup to advanced productivity features, helping developers streamline their workflow.
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.