Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲

Mac 版 Android Studio 常用快捷鍵整理

編輯:關於 Android 開發

Mac 版 Android Studio 常用快捷鍵整理

以下整理 Mac 環境下 Android Studio 常見快捷鍵,涵蓋程式碼編輯、搜尋、執行除錯、重構、視窗操作與版本控制。

按鍵符號對照

option 或 alt、shift、control、command、esc、方向鍵等符號,可對應鍵盤上的實際按鍵。

Code

alt + F7:尋找使用位置;alt + command + L:格式化程式碼;alt + control + O:最佳化 import;command + O:覆寫方法;command + I:實作方法;command + B:查看定義;command + U:跳到父類別方法。

Search

command + F:搜尋;command + R:取代;control + shift + F:在路徑中搜尋;command + E:最近檔案;command + N:搜尋類別;shift + command + N:搜尋檔案。

Run 與 Debug

shift + F10:執行;shift + F9:除錯;command + F8:切換斷點;F7:Step Into;F8:Step Over;F9:恢復執行。

Refactor

shift + F6:重新命名;F6:搬移方法或類別;F5:複製類別;alt + command + M:擷取方法;alt + command + V:擷取變數。

Window 與 VCS

control + 左右方向鍵:切換分頁;alt + F4:關閉分頁;command + K:提交變更;shift + command + K:推送變更;command + T:更新專案。

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © Android教程網 All Rights Reserved