CMS Admin Portal WP
I hope this list of my favorite Eclipse shortcuts will help your workflow become more productive. The shortcuts are divided into the following areas:
Switching between Open Editors
- Ctrl + E—Display a filterable list of open editors.
- Ctrl + Shift + E—Display the Switch to Editor window.
- Ctrl + F6—Display a list of open editors.
- Ctrl + Page Up and Ctrl + Page Down—Navigate to previous or next file from the list of open files.
- Ctrl + Shift + T—Display a list of classes from the workspace.
- Ctrl + Shift + R—Display a list of resources from the workspace.
- Ctrl + , and Ctrl + .—Navigate between markers in the current editor.
- Alt + ← and Alt + →—Go to previous or next edit positions from the editor history list.
- Ctrl + O—Quick outline (select editors only).
- Ctrl + J—Incremental find. Note: Just press Ctrl+J and start typing the search text. Eclipse finds and highlights the next match as you type.Use Up or Down Arrow keys to jump to the next or previous match.
- Ctrl + L—Go to line from editor.
- Ctrl + Q—Go to last edit location.
- Ctrl + Shift + P—Navigate to matching bracket/brace.
- Ctrl + F7—Display a list of open views and on selection select the resource on the view if relevant.
- Ctrl + F8—Displays list of open perspectives.
General Purpose Editing Shortcuts
- Ctrl + Alt + G—Perform a file search for the current word in the workspace and highlight occurrences in the current editor.
- Ctrl + Shift + F—Format file.
- Ctrl + Shift + C—Single line comment/uncomment.
- Ctrl + Shift + / and Ctrl + Shift + \—Block comment/uncomment.
- Ctrl + D—Delete the entire line, wherever the cursor position is. Works on most of the file editors.
- Alt + Shift + R—Rename a resource/selection.
Java Editor Shortcuts
- Ctrl + T—Display a popup with the type hierarchy of the selected element.
- F4—For something more permanent than the quick type hierarchy above, press F4 on a selected object in a class to display the type hierarchy view.
- Ctrl + Shift + T—Display a list of classes from workspace.
- Ctrl + Alt + H—Open call hierarchy of a method.
- F2—Press F2 on a selected object in a class to see the quick Javadoc without having to hover the mouse on the object.
- F3—Open Declaration. Note: Works only when valid selection is made on the Navigator/Editor. For invalid selections no action is performed.
Plug-in Development ShortcutsNote: Include org.eclipse.pde.runtime plug-in, for Plug-in Spy functionality.
- Shift + Alt + F1—Plug-in Selection Spy.
- Shift + Alt + F2—Plug-in Menu Spy.
- Shift + Alt + F3—Shows resource contribution details. Shows details on which plug-in contributed the resource, selection could be any tree item on the navigator, editor.
- Ctrl + Shift + Alt + M—Finds manifest for current selection in the workspace. Quickly find the manifest file of the project without having to browse through the project in explorer.
- Ctrl + Shift + A—Opens Plugin-Artifact. Lists all projects in workspace with a manifest and opens up the manifest file of the selected project in a Manifest Editor.
- Ctrl + 3—Quick access shortcut. My favorite! The quick access feature allows you to do everything, from open views and create files to invoke commands/actions and everything in between.
- Shift + Alt + N—New Wizard dropdown action shortcut. (Same as File>New menu based on current perspective.)
- Ctrl+N—Create new project using the Wizard.
- Alt + Enter—Shows properties of a resource, can be used from Editors/Navigators.
- Ctrl + Shift + L—provides a full list of global key bindings for the workbench. Note: Repeat Ctrl + Shift + L to display the Preferences for keys and modify key bindings.You can switch from the default scheme to Emacs if you prefer; however, some of the shortcuts in this article will change. Please refer to this link for detailed help: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Faccessibility%2Fkeyboardshortcuts.htm.