Eclipse Shortcuts


                        Eclipse Shortcuts

S.NO: Shortcut                                  Description

File Navigation:

 1. CTRL + SHIFT + R                                                                 Open a resource

 2. CTRL +  E                                         Open a file (editor) from within the list of all          

                                                                                                         open files

 3. CTRL +  PAGE UP or PAGE DOWN      Navigate to previous or next file

                                                                             from within the list of  all open files

 4. ALT <- or ALT ->                                   Go to previous or next edit positions from

                                                                                editor history list Java Editing

5. CTRL + SPACE                                                    Type assist

 6. CTRL + SHIFT +  F                                             Format code

 7. CTRL + O                                                        List all methods of the class

 8. CTRL +  SHIFT + O                                     Organize imports

 9. CTRL + SHIFT + U                                      Find reference in file

 10.CTRL +  /                                                         Comment a line

 11. F3                                              Go to the declaration of the  variable

 12. F4                                           Show type hierarchy of on a class

 13. CTRL + T                                  Show inheritance tree of cur token

14. SHIFT + F2                              Show Javadoc for current  element

15. ALT + SHIFT +  Z                           Enclose block in try-catch

General Editing

16. F12                                                          Focus on current editor

17. CTRL + L                                              Go to line number

18. CTRL + D                                                Delete a line

19. CTRL + <- or ->                                    Move one element left or right

20. CTRL  + M                                                Maximize editor

21. CTRL + SHIFT + P                                 Go to the matching parenthesis

Debug, Run

22. CTRL + . or ,                                           Navigate to next or previous error

23. F5                                                               Step into

24. F6                                                              Step over

25. F8                                                                Resume

26. CTRL + Q                                                  Inspect

27. CTRL + F11                                               Run last run program

28. CTRL + 1                                                  Quick fix code

Search

29. CTRL + SHIFT + G                      Search for current cursor positioned word             

                                                                                    reference in workspace

30. CTRL + H                                                                         Java search in workspace