Android Studio 基於 Android 生態設計,預設組態已經很好用,只要少數調整即可。
Version
Android Studio 2024.1.2 Patch 1
Appearance
Theme
:Darcula
Use custom font
:13.3
:Dialog 16
15
:Dialog 16
16
:Dialog 18
New UI
Enable new UI
:On
Compact mode
:On
Editor Font
Font
:Fira Code
Size
:13.3
:22.0
13
:19.0
15
:20.0
16
:22.0
Line height
:1.2
Main weight
:Medium
Fallback font
:Menlo
Background Color
Background
:#363B41
Console Font
Use console font instead of the default
:On
Font
:Menlo
Size
:18
Line height
:1.0
Code Folding
General
File header
:On
Imports
:On
Documentation comments
:On
Method bodies
:Off
Custom folding regions
:On
Dart
Parts
:On
Generic parameter
:On
Appearance
Show sticky lines while scrolling
:Off
Show indent guides
:Off
Editor Tabs
Tab placement
:None
Gutter Icons
Show gutter icons
:Off
Inlay Hints
- 全部
Off
Flutter
- App Execution
Perform hot reload on save
:On
- Editor
Format code on save
:true
Organize imports on save
:true
Tool Window Bars
Compact Mode
:On
Tool Windows Bars
:On
Status Bar
:On
Show Whitespaces
:Off
Show Line Numbers
:On
Show Gutter Icons
:Off
Show Indent Guides
:Off
Show Import Popups
:On
Navigation Bar
Navigation Bar
:In Status Bar
Project Options
Open Files with Single Click
:On
Open Directories with Single Click
:On
Always Select Openned File
:On
Toolbar
- 自訂 Toolbar
Left
Project Widget
:顯示目前專案名稱
Center
Run Widget
:選擇執行特定裝置Flutter Hot Reload (All Devices)
:Hot Reload 所有裝置Flutter Hot Restart (All Devices)
:Hot Restart 所有裝置
Right
Search Everywhere
:搜尋IDE and Project Settings
:設定
- Toolbar 只留下最常用的 icon
Keymap
- Go to File:⌘ P
Conclusion
- Android Studio 與 WebStorm 皆來自於 JetBrains,因此 WebStorm 的 preference、shortcut 皆可留下來