0% found this document useful (0 votes)
42 views

Eclipse Shortcuts

This document lists 103 keyboard shortcuts for Eclipse Helios on Windows. It provides shortcuts for managing files and projects, navigating and editing source code, searching, refactoring code, and working with version control using Subversive.

Uploaded by

Red ranger
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Eclipse Shortcuts

This document lists 103 keyboard shortcuts for Eclipse Helios on Windows. It provides shortcuts for managing files and projects, navigating and editing source code, searching, refactoring code, and working with version control using Subversive.

Uploaded by

Red ranger
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

103 Shortcuts for Eclipse Helios (Windows)

Manage Files and Projects Select Text


Ctrl+N Create new project using the Wizard Shift+Arrow Right/ Expand selection by one character to the left / to the
Arrow Left right
Ctrl+Alt+N Create new project, file, class, etc.
Ctrl+Shift+Arrow Expand selection to next / previous word
Alt+F, then . Open project, file, etc.
Right/Arrow Left
Ctrl+Shift+R Open Resource (file, folder or project)
Shift+Arrow Down/ Expand selection by one line down / one line up
Alt+Enter Show and access file properties Arrow Up
Ctrl+S Save current file Shift+End/Home Expand selection to end / to beginning of line
Ctrl+Shift+S Save all files Ctrl+A Select all
Ctrl+W Close current file Alt+Shift+Arrow Expand selection to current element (e.g. current
Ctrl+Shift+W Close all files Up one-line expression or content within brackets)

F5 Refresh content of selected element with local file Alt+Shift+Arrow Expand selection to next / previous element
system Left/Arrow Right
Alt+Shift+Arrow Reduce previously expanded selection by one step
Down
Editor Window
Focus/ cursor must be in Editor Window for these to work.
Edit Text
F12 Jump to Editor Window
Ctrl+C/Ctrl+X/Ctrl+ Cut, copy and paste
Ctrl+Page Down/Ct Switch to next editor / switch to previous editor V
rl+Page Up
Ctrl+Z Undo last action
Ctrl+M Maximize or un-maximize current Editor Window
(also works for other Windows) Ctrl+Y Redo last (undone) action

Ctrl+E Show list of open Editors. Use arrow keys and enter Ctrl+D Delete Line
to switch Alt+Arrow Up/Arro Move current line or selection up or down
Ctrl+F6/Ctrl+Shift+ Show list of open Editors. Similar to ctrl+e but w Down
F6 switches immediately upon release of ctrl Ctrl+Alt+Arrow Up/ Duplicate current line or selection up or down
Alt+Arrow Left/Alt Go to previous / go to next Editor Window Ctrl+Alt+Arrow
+Arrow Right Down/

Alt+- Open Editor Window Option menu Ctrl+Delete Delete next word

Ctrl+F10 Show view menu (features available on left vertical Ctrl+Backspace Delete previous word
bar: breakpoints, bookmarks, line numbers, ?) Shift+Enter Enter line below current line
Ctrl+F10, then n Show or hide line numbers Shift+Ctrl+Enter Enter line above current line
Ctrl+Shift+Q Show or hide the diff column on the left (indicates Insert Switch between insert and overwrite mode
changes since last save)
Shift+Ctrl+Y Change selection to all lower case
Ctrl+Shift++/- Zoom text in/ out
Shift+Ctrl+X Change selection to all upper case

Navigate in Editor
Search and Replace
Home/End Jump to beginning / jump to end of indention. Press
Ctrl+F Open find and replace dialog
home twice to jump to beginning of line
Ctrl+K/Ctrl+Shift+K Find previous / find next occurrence of search term
Ctrl+Home/End Jump to beginning / jump to end of source
(close find window first)
Ctrl+Arrow Right/A Jump one word to the left / one word to the right
Ctrl+H Search Workspace (Java Search, Task Search, and
rrow Left
File Search)
Ctrl+Shift+Arrow Jump to previous / jump to next method
Ctrl+J/Ctrl+Shift+J Incremental search forward / backwards. Type
Down/Arrow Up
search term after pressing ctrl+j, there is now search
Ctrl+L Jump to Line Number. To hide/show line numbers, window
press ctrl+F10 and select 'Show Line Numbers'
Ctrl+Shift+O Open a resource search dialog to find any class
Ctrl+Q Jump to last location edited
Ctrl+./Ctrl+, Jump to next / jump to previous compiler syntax Indentions and Comments
warning or error
Tab/Shift+Tab Increase / decrease indent of selected text
Ctrl+Shift+P With a bracket selected: jump to the matching closing
or opening bracket Ctrl+I Correct indention of selected text or of current line

Ctrl+<sc>+</sc>/Ctrl Collapse / Expand current method or class Ctrl+Shift+F Autoformat all code in Editor using code formatter
+- Ctrl+/ Comment / uncomment line or selection ( adds '//' )
on numeric
keyboard Ctrl+Shift+/ Add Block Comment around selection ( adds '/... */' )

Ctrl+<sc>/</sc>/Ctrl Collapse / Expand all methods or classes Ctrl+Shift+\ Remove Block Comment
+* Alt+Shift+J Add Element Comment ( adds '/** ... */')
on numeric
keyboard
Ctrl+Arrow Down/ Scroll Editor without changing cursor position
Ctrl+Arrow Up
Alt+Page Up/Alt+Pa Next Sub-Tab / Previous Sub-Tab
ge Down

https://shortcutworld.com/Eclipse/win/Eclipse-Helios_Shortcuts
103 Shortcuts for Eclipse Helios (Windows)

Editing Source Code Team (SVN Subversive)


Ctrl+Space Opens Content Assist (e.g. show available methods or Ctrl+Alt+S Synchronize with Repository
field names)
Ctrl+Alt+C Commit
Ctrl+1 Open Quick Fix and Quick Assist
Ctrl+Alt+U Update
Alt+/ Propose word completion (after typing at least one
Ctrl+Alt+D Update to Revision
letter). Repeatedly press alt+/ until reaching correct
name Ctrl+Alt+E Merge
Ctrl+Shift+Insert Deactivate or activate Smart Insert Mode (automatic Ctrl+Alt+T Show Properties
indention, automatic brackets, etc.) Ctrl+Alt+I Add to svn:ignore

Code Information
Ctrl+O Show code outline / structure
F2 Open class, method, or variable information (tooltip
text)
F3 Open Declaration: Jump to Declaration of selected
class, method, or parameter
F4 Open Type Hierarchy window for selected item
Ctrl+T Show / open Quick Type Hierarchy for selected item
Ctrl+Shift+T Open Type in Hierarchy
Ctrl+Alt+H Open Call Hierarchy
Ctrl+Shift+U Find occurrences of expression in current file
Ctrl+move over Open Declaration or Implementation
method

Refactoring
Alt+Shift+R Rename selected element and all references
Alt+Shift+V Move selected element to other class or file (With
complete method or class selected)
Alt+Shift+C Change method signature (with method name
selected)
Alt+Shift+M Extract selection to method
Alt+Shift+L Extract local variable: Create and assigns a variable
from a selected expression
Alt+Shift+I Inline selected local variables, methods, or constants
if possible (replaces variable with its declarations/
assignment and puts it directly into the statements)

Run and Debug


Ctrl+F11 Save and launch application (run)
F11 Debug
F5 Step Into function
F6 Next step (line by line)
F7 Step out
F8 Skip to next Breakpoint

The Rest
Ctrl+F7/Ctrl+Shift+ Switch forward / backward between views (panels).
F7 Useful for switching back and forth between Package
Explorer and Editor.
Ctrl+F8/Ctrl+Shift+ Switch forward / backward between perspectives
F8
Ctrl+P Print
F1 Open Eclipse Help
Shift+F10 Show Context Menu right click with mouse

https://shortcutworld.com/Eclipse/win/Eclipse-Helios_Shortcuts

You might also like