个人使用的Android Studio配置
Android Studio的每个新版本都或多或少有点问题,因此每次都重新安装并手动配置来避免配置继承的问题。
- Reorder window layouts and
Store Current Layout as Default
- Clean
Gutter Icons
manually Appearance & Behavior
Appearance
Theme
:Darcula
/Dark
UI Options
- DisableSmooth scrolling
System Settings
HTTP Proxy
Memory Settings
Keymap
ShowProjectStructureSettings
: EmptyType alias
: EmptyShow vcs Log
: Alt + 3Logcat
: Alt + 4Build
: Alt + 5Show Local Changes
: Alt + 2Maximize/Restore Active Dialog
: Ctrl + Alt + Shift + MCompare with Clipboard
: Ctrl + Alt + Shift + C
Editor
General
-On Save
- EnableEnsure every saved file ends with a line break
Auto Import
: Enable 2Add unambiguous imports on the fly
Appearance
- Disable
Caret blinking
- Disable
Show line numbers
- Enable
Show method separators
- Disable
Render documentation comments
- Disable
Console
-Default Encoding
:UTF-8
Smart Keys
: EnableUse "CamelHumps" Words
Font
-Font
:Consolas
;Size
:22.0
Color Scheme
-Console Font
-Size
:16
;Line height
:0.8
Code Style
Formatter
: DisableReformat again to remove custom line breaks
Kotlin
- Set from
Kotlin style guide
Tabs and Indents
-Continuation Indent
: 4Wrapping and Braces
: DisableNew line after multiline entry
Code Generation
- Disable
Line comment at first column
- Enable
Add a space at line comment start
andEnforce on reformat
- Disable
- Set from
Design Tools
:Split
,Split
,Code
,Code
Inlay Hints
: DisableCode Vision
- Disable
Reader Mode
Plugins
ADB Idea
Archive Browser
JsonToKotlinClass
+ Configure manuallyNyan Progress Bar
String Manipulation
- [Optinal]
Kotlin Multiplatform Mobile
- [Optinal]
GLSL Support
- [Optinal]
Wavefront OBJ
Version Control
-Commit
- Disable
Use non-modal commit interface
Before Commit
: Enable all
- Disable
Build, Execution, Deployment
-Deployment
: Enable allTools
External Tools
Avocado
Program
:...\Yarn\bin\avocado.cmd
Argument
:-i $FileName$
Working directory
:$FileDir$
Emulator
: DisableLaunch in the Running Devices tool window
Editor
Live Template
: Import from settings zip
Ctrl
+Shift
+Alt
+L
- Enable all options