IDEA 開發工具的快捷鍵

IDEA 開發工具的快捷鍵express

原文連接:http://blog.csdn.net/wfp458113181wfp/article/details/24579781工具

一、文本編輯
刪除    ctr + y
        複製    ctr + D
二、智能提示
       提示    ctr + space
       智能提示 ctr + shift + space
       完成當前語句  ctr + shift + enter
       建議提示爲參數  ctr + alt + P
       對代碼從新排列格式 Ctrl + Alt + L
           對imports進行優化                                                            Ctrl + Alt + O

三、位置定位

定位到下一個或上一個錯誤 F2 / Shift + F2開發工具

定位文件頭   ctr+G    (定位到文件行數)
定位文件尾   ctr+G    
       定位到代碼塊開始  ctr + [
       定位到代碼塊結束  ctr + ]
       回到最近的窗口      F12
         回到以前的文件  alt + left
        回到以後的文件   alt + right
       定位到最後編輯位置  Ctrl + Shift + Backspace
      從tool window或其餘window切換到文件編輯    esc
     關閉最近打開的窗口    shift + esc

四、類、方法、文件定位

查找類    ctr + N
        查找文件  Ctrl + Shift + N
          符號定位     Ctrl + Alt + Shift + N
       查看文件結構   ctrl + F12
       最近打開的文件  ctr + E
       定位下一個方法 alt + down
       定位上一個方法  alt + up
      查看方法參數信息  ctr + p
     查看方法、類的doc ctr + Q

五、類、方法的結構查看、定位

      跳到類或方法的聲明         ctr + B
       定位到類的父類、接口     ctr + U
       查看類的繼承結構             ctr + H
      查看方法的繼承結構          ctr + shift + H
      查看類或方法被調用狀況  ctr + alt +H 
      原地參看類、方法的聲明 Ctrl + Shift + I

六、運行與調試

    Compile and Run Ctrl + F9 Make project (compile modifed and dependent) Ctrl + Shift + F9 Compile selected file, package or module Alt + Shift + F10 Select configuration and run Alt + Shift + F9 Select configuration and debug Shift + F10 Run Shift + F9 Debug Ctrl + Shift + F10 Run context configuration from editor Debugging F8 Step over F7 Step into Shift + F7 Smart step into Shift + F8 Step out Alt + F9 Run to cursor Alt + F8 Evaluate expression F9 Resume program Ctrl + F8 Toggle breakpoint Ctrl + Shift + F8 View breakpoints
相關文章
相關標籤/搜索