intellij,eclipse,vs2013快捷鍵

如何跳轉到上一次編輯的位置,即如何跳到上一個光標所在的位置?

intellij:

Command+Alt+左方向鍵:上一光標的位置
Command+Alt+右方向鍵:下一光標的位置

定位到最後編輯位置  Ctrl + Shift + Backspace

eclipse中:

ALT+左方向鍵:上一光標的位置
ALT+右方向鍵:下一光標的位置

vs2013中:

ctrl+'-':上一光標的位置express

ctrl+'+':下一光標的位置eclipse

 

 

Intellij Idea經常使用快捷鍵lua

 

一、文本編輯

 

        刪除    ctrl + y

        複製    ctrl+c

        複製    ctrl + D (複製多行)

        剪切    ctrl +x (不指定文字,能夠剪切一行,再ctrl+v)

      粘貼    ctrl +v

 

二、智能提示

        提示    Ctrl + spacespa

        智能提示 Ctrl + shift + spacedebug

        完成當前語句  Ctrl + shift + enter調試

        建議提示爲參數  Ctrl + alt + Pcode

        對代碼從新排列格式 Ctrl + Alt + Lblog

        智能導包             Ctrl + Alt + O繼承

三、位置定位

         定位到下一個或上一個錯誤 F2 / Shift + F2接口

         定位文件頭  ctrl+Home

         定位到文件行數  ctrl+G    

     定位文件尾   ctrl+End  

         定位到代碼塊開始  ctrl + [

         定位到代碼塊結束  ctrl + ]

         回到最近的窗口      F12

         回到以前的文件  alt + left

         回到以後的文件   alt + right

         定位到最後編輯位置  Ctrl + Shift + Backspace

         從tool window或其餘window切換到文件編輯    esc

         關閉最近打開的窗口    shift + esc

 

四、類、方法、文件定位

        查找類    Ctrl + N

        查找文件  Ctrl + Shift + N

        符號定位     Ctrl + Alt + Shift + N

        查看文件結構   ctrl + F12

        最近打開的文件  ctr + E

        定位下一個方法 alt + down

        定位上一個方法  alt + up

        查看方法參數信息  ctrl + p

        查看方法、類的doc ctrl + Q

 

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

        跳到類或方法的聲明         Ctrl + B

        定位到類的父類、接口     Ctrl + U

        查看類的繼承結構             Ctrl + H

        查看方法的繼承結構          Ctrl + shift + H

        查看類或方法被調用狀況  Ctrl + alt +H 

        原地參看類、方法的聲明  Ctrl + Shift + I

        查看子類或實現類    Ctrl+shift+b

 

六、運行與調試

 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

相關文章
相關標籤/搜索