Eclispe M8 Key Bindings I use

Posted : April 28, 2004 at 12:23 pm [America/Los_Angeles]


Here’s my cheat sheet on Eclipse Key Bindings that I use or tend to use more often than the bazillion others that’s in there. And no, I am not an Emacs person, so I use the default key bindings:

Context: Window

  1. Ctrl+N: New Project

  2. Ctrl+0: Open Project (CUSTOMIZATION, that is number ‘zero’ by the way, and not alphabet ‘O’)
  3. Ctrl+Shift+0: Close Project (CUSTOMIZATION) [Home in Package Explorer will take you to the project]
  4. Ctrl+Shift+R: Open Resource
  5. Ctrl+S: Save current file
  6. Ctrl+Shift+S: Save all modified files
  7. Ctrl+F4: Closing file
  8. Ctrl+Shift+F4: Closing all files
  9. Alt+Enter: Project properties (but only if the project is highlighted in Package Explorer)
  10. Ctrl+Q: Exit (CUSTOMIZATION)

Context: Editor

  1. Ctrl+A, Ctrl+Z, Ctrl+C and Ctrl+V have the usual meanings

  2. Ctrl+O: Open outline [Ctrl-O and again Ctrl-O to see all methods including super classes]
  3. F3: Open declaration
  4. Ctrl+F6: Switching to a different editor (I luv this one, especially when I am in a maximized view)
  5. Ctrl+F7: Switching to a different view (again luv it, especially when I am in a maximized view)
  6. Ctrl+Shift+C: For toggling comments
  7. Ctrl+Shift+/: For adding block comment
  8. Ctrl+Shift+\: For removing block comment
  9. Ctrl+Shift+P: For going to matching bracket
  10. Ctrl+Shift+G: Doing this on a selection will bring up all references of the selection in the workspace
  11. Ctrl+G: Doing this on a selection will bring up all declaration in the workspace
  12. Ctrl+Shift+U: Doing this on a selection shows occurences in file
  13. Ctrl+D: For deleting line
  14. Ctrl+T: Doing this on a method name makes Eclipse jump into the same method in super hierarchy
  15. Ctrl+Alt+Up: Getting a duplicate line on which the cursor is
  16. Ctrl+Alt+Down: Copying the line on which the cursor is
  17. Ctrl+Shift+X: On a selection makes everything upper-case
  18. Ctrl+Shift+Y: On a selection makes everything lower-case
  19. Ctrl+F: For Find/Replace
  20. Ctrl+H: For bringing up the Search dialog
  21. Ctrl+Shift+Arrow-up and Ctrl+Shift+Arrow-down for jumping from method to method
  22. Shift+P: Go to the corresponding file in package explorer from the Editor (CUSTOMIZATION)
  23. Shift+E: Activate Editor (CUSTOMIZATION)
  24. Alt+Left: Goes left on the Editors opened
  25. Alt+Right: Goes right on the Editors opened

p.s.
CUSTOMIZATION refers to settings that were not part of the default install.

- Anand

Viewed: 617 times