點燈坊

失くすものさえない今が強くなるチャンスよ

我的 Android Studio 基本設定

Sam Xiao's Avatar 2024-03-08

Android Studio 基於 Android 生態設計,預設組態已經很好用,只要少數調整即可。

Version

Android Studio 2023.2.1

Appearance

setup000

  • ThemeDarcula
  • Use custom fontDialog 14

New UI

as002

  • Enable new UIOn
    • Compact modeOn

Editor Font

setup001

  • FontFira Code
  • Size19.0 (13.6) 20.0 (15.3)
  • Line height1.2
  • Main weightMedium
  • Fallback fontMenlo

Background Color

as004

  • Background#363B41

Console Font

setup002

  • Use console font instead of the defaultOn
  • FontMenlo
  • Size18
  • Line height1.0

Appearance

as006

  • Show indent guidesOff

Editor Tabs

as007

  • Tab placementNone

Gutter Icons

as008

  • Show gutter iconsOff

Appearance

as009

  • Compact ModeOn
  • Tool Windows BarsOff
  • Status BarOn

as010

  • Show WhitespacesOff
  • Show Line NumbersOn
  • Show Gutter IconsOff
  • Show Indent GuidesOff
  • Show Import PopupsOn

Project Options

as011

  • Open Files with Single ClickOn
  • Open Directories with Single ClickOn
  • Always Select Openned FileOn

Inlay Hints

as012

  • 全部 Off

Flutter

as013

  • App Execution
    • Perform hot reload on saveOn
  • Editor
    • Format code on savetrue
      • Organize imports on savetrue

Toolbar

as014

  • 刪除一些在 Toolbar 沒用的 icon

as015

  • 刪除 General Actions

as016

  • 刪除 Select Device

as017

  • 刪除 Attach Debugger to Android Process

as018

  • Toolbar 只留下最常用的 icon

Keymap

  • Go to File⌘ P

Conclusion

  • Android Studio 與 WebStorm 皆來自於 JetBrains,因此 WebStorm 的 preference、shortcut 皆可留下來