日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Android >内容正文

Android

IDEA 快捷键 Android Studio快捷键

發布時間:2025/3/15 Android 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 IDEA 快捷键 Android Studio快捷键 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
IDEA 快捷鍵 這是從IDEA官網下載的IDEA keymap Windows/Linux,中文我會慢慢補充上去。 因為AS是基于IDEA社區版開發的,所以快捷鍵都AS同樣適用。 IntelliJ IDEA Default Keymap?

To find any action inside the IDE use

Find Action???? Ctrl+Shift+A/ A??? 查找快捷鍵,action快捷入口的快捷鍵


Editing 編輯

Ctrl + SpaceBasic code completion (the name of any class,method or variable)基本的代碼補全
Ctrl + Shift + SpaceSmart code completion (filters the list of methodsand variables by expected type)智能代碼補全
Ctrl + Shift + EnterComplete statement補全當前語句
Ctrl + PParameter info (within method call?arguments)顯示函數的參數信息
Ctrl + QQuick documentation lookup快速文檔查找
Shift + F1External Doc外部文檔
Ctrl + mouse?over code?Brief Info簡要信息顯示
Ctrl + F1Show descriptions of error or warning at?caret顯示錯誤或警告的說明
Alt + InsertGenerate code... (Getters, Setters, Constructors,hashCode/equals, toString)生成(Getters, Setters, Constructors,hashCode/equals, toString)代碼
Ctrl + OOverride methods重寫方法
Ctrl + IImplement methods實現方法
Ctrl + Alt + TSurround with…?(if..else, try..catch, for,synchronized, etc.)用if..else, try..catch, for,synchronized等環繞代碼塊
Ctrl + /?Comment/uncomment with line comment注釋/取消注釋代碼行
Ctrl + Shift + /Comment/uncomment with block comment注釋/取消注釋代碼塊
Ctrl + W?Select successively increasing code blocks依次選擇更多的代碼塊
Ctrl + Shift + W? ???Decrease current selection to previous state依次減少選擇的代碼塊
Alt + Q?Context info?
Alt + Enter?Show intention actions and quick-fixes顯示意圖行動和快速修復
Ctrl + Alt + LReformat code重新格式化代碼
Ctrl + Alt + OOptimize imports優化導入的import
Ctrl + Alt + I?Auto-indent line(s)自動縮進行
Tab / Shift + Tab?Indent/unindent selected lines縮進/取消縮進
/Ctrl + X?or?Shift + Delete?Cut current line or selected block to clipboard剪切當前行或者選中的代碼段到剪切板
Ctrl + C?or?Ctrl + InsertCopy current line or selected block to clipboard復制當前行或者選中的代碼段到剪貼板
Ctrl + V?or?Shift + InsertPaste from clipboard從剪切板粘貼
Ctrl + Shift + VPaste from recent buffers...粘貼最近復制的內容
Ctrl + DDuplicate current line or selected block復制當前行或選中的代碼
Ctrl + YDelete line at caret刪除行
Ctrl + Shift + JSmart line join智能合并行
Ctrl + EnterSmart line split智能分割行
Shift + EnterStart new line新建一行
Ctrl + Shift + UToggle case for word at caret or selected block將選中代碼塊轉為小寫
Ctrl + Shift + ] / [?Select till code block end/start向前/向后選中代碼段
Ctrl + DeleteDelete to word end向后刪除一個單詞
Ctrl + BackspaceDelete to word start向前刪除一個單詞
Ctrl + NumPad+/-Expand/collapse code block展開/折疊代碼段
Ctrl + Shift + NumPad+Expand all全部展開
Ctrl + Shift + NumPad-?Collapse all全部折疊
Ctrl + F4?Close active editor tab關閉當前標簽

Search/Replace 查找/替換

Double ShiftSearch everywhere搜索任何地方的任何東西
Ctrl + FFind查找
F3? ??? ??Find next查找下一個
Shift + F3Find previous查找上一個
Ctrl + R?Replace替換
Ctrl + Shift + FFind in path在路徑中查找
Ctrl + Shift + RReplace in path在路徑中替換
Ctrl + Shift + SSearch structurally (Ultimate Edition only)查找機構(商業版有效)
Ctrl + Shift + MReplace structurally (Ultimate Edition only)替換結構(商業版有效)


Usage Search?查找使用

Alt + F7 / Ctrl + F7Find usages / Find usages in file查找使用
Ctrl + Shift + F7Highlight usages in file在文件中高亮被使用處
Ctrl + Alt + F7Show usages顯示使用


Compile and Run?編譯和運行

Ctrl + F9Make project (compile modifed and dependent)編譯項目
Ctrl + Shift + F9Compile selected file, package or module編譯選中的文件、包或者木塊
Alt + Shift + F10Select configuration and run選擇配置然后運行
Alt + Shift + F9Select configuration and debug選擇哦誒之然后調試
Shift + F10Run運行
Shift + F9Debug調試
Ctrl + Shift + F10Run context configuration from editor?


Debugging 調試

F8Step over跳過函數執行
F7Step into單步執行
Shift + F7Smart step into智能但不執行
Shift + F8Step out跳出函數執行
Alt + F9Run to cursor運行到光標處
Alt + F8Evaluate expression?
F9Resume program繼續執行
Ctrl + F8Toggle breakpoint切換斷點
Ctrl + Shift + F8View breakpoints查看斷點


Navigation 導航

Ctrl + NGo to class查找/跳到類
Ctrl + Shift + NGo to file查找文件
Ctrl + Alt + Shift + NGo to symbol查找符號
Alt + Right/LeftGo to next/previous editor tab?
F12Go back to previous tool window?
EscGo to editor (from tool window)?
Shift + EscHide active or last active window?
Ctrl + Shift + F4Close active run/messages/find/... tab?
Ctrl + GGo to line?
Ctrl + E?Recent files popup? ??最近打開的文件
Ctrl + Alt + Left/RightNavigate back/forward回到上一步/下一步編輯的地方
Ctrl + Shift + BackspaceNavigate to last edit location回到最后編輯的地方
Alt + F1Select current file or symbol in any view在任意視圖中選中當前文件或者符號
Ctrl + B or Ctrl + ClickGo to declaration到變量定義處
Ctrl + Alt + BGo to implementation(s)到方法的實現處
Ctrl + Shift + IOpen quick definition lookup打開定義快速查找
Ctrl + Shift + BGo to type declaration跳轉到方法定義處
Ctrl + UGo to super-method/super-class跳轉到父方法/父類
Alt + Up/DownGo to previous/next method跳轉到上一個/下一個方法
Ctrl + ] / [Move to code block end/start跳到代碼段的開始/結尾
Ctrl + F12File structure popup彈出文件結構視圖
Ctrl + HType hierarchy類型的層次結構?
Ctrl + Shift + HMethod hierarchy方法的層次結構?
Ctrl + Alt + HCall hierarchy調用的層次結構(查找方法/符號的調用方)
F2 / Shift + F2Next/previous highlighted error下一個(上一個)高亮的錯誤
F4 / Ctrl + EnterEdit source / View source編輯/查看文件源碼
Alt + HomeShow navigation bar顯示導航欄
F11Toggle bookmark增加書簽
Ctrl + F11Toggle bookmark with mnemonic增加帶符號的書簽
Ctrl + #[0-9]Go to numbered bookmark跳到標記數字的書簽
Shift + F11Show bookmarks顯示書簽


Refactoring 代碼重構

F5Copy復制
F6Move移動
Alt + DeleteSafe Delete安全刪除
Shift + F6Rename重命名變量/方法名
Ctrl + F6Change Signature改變
Ctrl + Alt + NInline?
Ctrl + Alt + MExtract Method?
Ctrl + Alt + VExtract Variable?
Ctrl + Alt + FExtract Field?
Ctrl + Alt + CExtract Constant?
Ctrl + Alt + PExtract Parameter?


VCS/Local History 版本管理/本地歷史

Ctrl + KCommit project to VCS?
Ctrl + TUpdate project from VCS?
Alt + Shift + CView recent changes查看最近更改的內容
Alt + BackQuote (`)‘VCS’?quick popup?


Live Templates 動態模板

Ctrl + Alt + JSurround with Live Template環繞的動態模板
Ctrl + JInsert Live Template插入動態模板
iterIteration according to Java SDK 1.5 style?
inst?Check object type with instanceof and downcast it?
itcoIterate elements of java.util.Collection?
itit?Iterate elements of java.util.Iterator?
itliIterate elements of java.util.List?
psfpublic static final?
thrthrow new?


General 通用

Alt + #[0-9]?Open corresponding tool window打開相應的工具窗口
Ctrl + S?Save all保存
Ctrl + Alt + YSynchronize同步
Ctrl + Shift + F12Toggle maximizing editor最大化編輯窗口
Alt + Shift + FAdd to Favorites添加到Favorites
Alt + Shift + IInspect current file with current profile?
Ctrl + BackQuote (`)?Quick switch current scheme?
Ctrl + Alt + SOpen Settings dialog打開設置窗口
?Ctrl + Alt + Shift +?S
Open Project Structure dialog打開項目結構窗口
Ctrl + Shift + A?Find Action查找快捷鍵
Ctrl + TabSwitch between tabs and tool window在選項卡和工具窗口之間切換


與Ubuntu系統快捷鍵沖突的地方

Here’s a list of tweaks you need to make with default system key bindings so that they won’t interfere with IntelliJ IDEA actions (listed in brackets).

  • Disable the Shade window action, assigned to?Ctrl?+?Alt?+?S?(Settings dialog)
  • Change or disable the Lock Screen action, assigned to?Ctrl?+?Alt?+?L?(Reformat code)
  • Change or disable the Launch terminal action, assigned to?Ctrl?+?Alt?+?T?(Surround with)
  • Change or disable the Switch to workspace action, assigned to?Сtrl?+?Alt?+?Arrows?(Navigation)
  • Disable the Move window action, assigned to?Alt?+?F7?(Find usages)
  • Change or disable the Resize window action, assigned to?Alt?+?F8?(Evaluate expression)


原文地址: http://blog.csdn.net/aaa111/article/details/43791481

總結

以上是生活随笔為你收集整理的IDEA 快捷键 Android Studio快捷键的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。