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
- Ctrl+N: New Project
- Ctrl+0: Open Project (CUSTOMIZATION, that is number ‘zero’ by the way, and not alphabet ‘O’)
- Ctrl+Shift+0: Close Project (CUSTOMIZATION) [Home in Package Explorer will take you to the project]
- Ctrl+Shift+R: Open Resource
- Ctrl+S: Save current file
- Ctrl+Shift+S: Save all modified files
- Ctrl+F4: Closing file
- Ctrl+Shift+F4: Closing all files
- Alt+Enter: Project properties (but only if the project is highlighted in Package Explorer)
- Ctrl+Q: Exit (CUSTOMIZATION)
Context: Editor
- Ctrl+A, Ctrl+Z, Ctrl+C and Ctrl+V have the usual meanings
- Ctrl+O: Open outline [Ctrl-O and again Ctrl-O to see all methods including super classes]
- F3: Open declaration
- Ctrl+F6: Switching to a different editor (I luv this one, especially when I am in a maximized view)
- Ctrl+F7: Switching to a different view (again luv it, especially when I am in a maximized view)
- Ctrl+Shift+C: For toggling comments
- Ctrl+Shift+/: For adding block comment
- Ctrl+Shift+\: For removing block comment
- Ctrl+Shift+P: For going to matching bracket
- Ctrl+Shift+G: Doing this on a selection will bring up all references of the selection in the workspace
- Ctrl+G: Doing this on a selection will bring up all declaration in the workspace
- Ctrl+Shift+U: Doing this on a selection shows occurences in file
- Ctrl+D: For deleting line
- Ctrl+T: Doing this on a method name makes Eclipse jump into the same method in super hierarchy
- Ctrl+Alt+Up: Getting a duplicate line on which the cursor is
- Ctrl+Alt+Down: Copying the line on which the cursor is
- Ctrl+Shift+X: On a selection makes everything upper-case
- Ctrl+Shift+Y: On a selection makes everything lower-case
- Ctrl+F: For Find/Replace
- Ctrl+H: For bringing up the Search dialog
- Ctrl+Shift+Arrow-up and Ctrl+Shift+Arrow-down for jumping from method to method
- Shift+P: Go to the corresponding file in package explorer from the Editor (CUSTOMIZATION)
- Shift+E: Activate Editor (CUSTOMIZATION)
- Alt+Left: Goes left on the Editors opened
- Alt+Right: Goes right on the Editors opened
p.s.
CUSTOMIZATION refers to settings that were not part of the default install.
- Anand
Category: Application Development
Viewed: 617 times