排名前30的eclipse快捷鍵 java必備

1)      Ctrl + Shift + T  查詢class裏的類在jar裏。html

2)      Ctrl + Shift + R 查找任何資源,包括xml文件java

3)      Ctrl + 1  查找解決問題程序員

4)      Ctrl + Shift + o  引入相關包編程

eclipse的快捷方式 快速進行導航eclipse

7) Ctrl + o 快速outline 
若是想要查看當前類的方法或某個特定方法,但又不想把代碼拉上拉下,也不想使用查找功能的話,就用ctrl+o吧。它能夠列出當前類中的全部方法及屬性,你只需輸入你想要查詢的方法名,點擊enter就可以直接跳轉至你想去的位置。 編輯器

9) Alt + right and Alt + left 向前或者向後來編程。ui

12) Alt + Shift + W 全局 上一個編輯器this

13) Ctrl + Shift + Up and down for navigating from member to member (variables and methods)spa

15) Ctrl + k and Ctrl + Shift +K for find next/previouscode

24) Go to a type declaration: F3, This Eclipse shortcut is very useful to see function definition very quickly.

eclipse的快捷方式 編輯代碼

These Eclipse shortcuts are very helpful for editing code in Eclipse.

5) Ctrl + / for commenting, uncommenting lines and blocks, see here for live example.

6) Ctrl + Shift + / for commenting, uncommenting lines with block comment, see here for example.

8) Selecting class and pressing F4 to see its Type hierarchy

10) Ctrl + F4 or Ctrl + w for closing current file

11) Ctrl+Shirt+W for closing all files.

14) Ctrl + l go to line

16) Select text and press Ctrl + Shift + F for formatting.

17) Ctrl + F for find, find/replace

18) Ctrl + D to delete a line

19) Ctrl + Q for going to last edited place

其餘的eclipse快捷方式

20) Ctrl + T for toggling between supertype and subtype

21) Go to other open editors: Ctrl + E.

22) Move to one problem (i.e.: error, warning) to the next (or previous) in a file: Ctrl +. For next, and Ctrl +, for the previous problem

23) Hop back and forth through the files you have visited: Alt +  and Alt + , respectively.

25) CTRL+Shift+G, which searches the workspace for references to the selected method or variable

26) Ctrl+Shift+L to view listing for all Eclipse keyboard shortcuts.

27) Alt + Shift + j to add Javadoc at any place in java source file.

28) CTRL+SHIFT+P to find closing brace. Place the cursor at the opening brace and use this.

29) Alt+Shift+X, Q to run Ant build file using keyboard shortcuts in Eclipse.

30) Ctrl + Shift +F for Autoformatting.

下面這張圖 更好的幫助java程序員快速查找。

相關文章
相關標籤/搜索