Appearance
Idea 推荐设置
Appearance & Behavior > Appearance:
- Theme:
√Sync with OS - UI Options
√Compact mode- Main menu:
Merge with Main Toolbar
- Tree Views:
√Show indent guides
- Theme:
Appearance & Behavior > Scopes:
Click
+to create a new Scope; it is recommended to name it after the module name, such asuser-service.Appearance & Behavior > File Colors:
Click
+to select the Scope you just created (e.g.,user-service), and repeat to assign a different color to each module's Scope.Appearance & Behavior > System Settings:
- Project:
×Reopen projects on startup
- Project:
Appearance & Behavior > System Settings > Date Formats:
√Override system date and time format- Date format:
yyyy-MM-dd
Keymap
- Main Menu
- Code
- Code Formatting Actions Reformat Code
Alt + Shift + F
- Code Formatting Actions Reformat Code
- View
- Active Editor
- Soft-Wrap
Alt+Z
- Soft-Wrap
- Active Editor
- Code
- Tool Windows
- Project
Alt+1 - Structure
Alt+2 - TODO
Alt+3 - Find
Alt+4 - Problems
Alt+5 - Services
Alt+6 - Debug
Alt+7 - Run
Alt+8 - Build
Alt+9 - Databases
Alt+- - Maven
Alt+=
- Project
- Main Menu
Editor > General > Appearance:
√Use editor font for inlay hints
Editor > General > Code Completion:
×Match case√Show the documentation popup in500ms- SQL
- Qualify object with:
- Database:
Never - Schema:
Never - Table/View:
Never
- Database:
- Qualify object in:
- Basic completion:
Always - Refactoring:
Always - Live templates:
Always - Drag-n-Drop:
Always
- Basic completion:
- Qualify object with:
Editor > General > Editor Tabs:
- Appearance:
- Show tabs in:
√Multiple rows √Show pinned tabs in a separate row√Mark modified
- Show tabs in:
- Tab Order
√Open new tabs at the end
- Closing Policy
- When the current tab is closed, active:
√Most recently opened tab
- When the current tab is closed, active:
- Appearance:
Editor > Font:
- Font:
Sarasa Mono Slab SC
- Font:
Editor > Color Scheme > Language Defaults:
Scheme:
Light- Inline hints:
- Default:
√ForegroundADB5BD,×Background - Parameters:
- Current:
√Foreground6C757D,√Backgrounde9ecef - Default:
√ForegroundADB5BD,×Background - Highlighted:
√Foreground6C757D,×Background
- Current:
- Default:
- Inline hints:
Editor > Code Style:
- General
- Hard wrap at:
150
- Hard wrap at:
- General
Editor > Code Style > Java
- Tabs and Indents
- Continuation indent:
4
- Continuation indent:
- Wrapping and Braces
√Ensure right margin is not exceeded
- Tabs and Indents
Editor > Code Style > SQL > General
- Case
- Word Case
- Keywords:
To lower - Built-in types:
As keywords
- Keywords:
- Word Case
- Queries
- Common
- Collapse short statement:
Always
- Collapse short statement:
- UPDATE statement
- Wrap elements:
Chop if long
- Wrap elements:
- WITH clause
- Wrap subqueries:
Chop if long
- Wrap subqueries:
- SELECT clause
- Wrap elements:
Wrap if long - Use AS:
Add always
- Wrap elements:
- FROM clause
- Wrap elements:
Chop if long - Indent JOIN:
× - Place JOIN in join-only queries under:
FROM - Align joined tables:
√
- Wrap elements:
- WHERE and HAVING clauses
- Wrap elements:
Chop if long
- Wrap elements:
- Subquery
- Space after keyword:
Yes
- Space after keyword:
- Common
- DDL
- CREATE TABLE
- Place the opening parenthesis:
On the same line - Place elements:
Wrapped unindented - Place the closing parenthesis:
To begin
- Place the opening parenthesis:
- CREATE TABLE
- Code
- Loops
- Wrap LOOP:
×
- Wrap LOOP:
- Loops
- Expressions
- CASE cause
- Align END:
Align with CASE
- Align END:
- CASE cause
- Tabs and Indents
- Indent:
2 - Continuation indent:
4
- Indent:
- Case
Editor > File Encodings
- Default encoding for properties files:
UTF-8
- Default encoding for properties files:
Version Control > Confirmation:
- When files are created:
Do not add - When files are deleted:
Do not remove
- When files are created:
Build, Execution, Deployment > Build Tools > Maven:
- Thread count:
4
- Thread count:
Build, Execution, Deployment > Build Tools > Maven > Importing:
- Automatically download:
√Sources√Documentation√Annotations
- Automatically download:
Build, Execution, Deployment > Debugger > Data Views > Java:
- Show:
√Fully qualified names
- Show: