KEMBAR78
Eclipse Keyboard Shortcuts Guide | PDF | Computer File | Computing
0% found this document useful (0 votes)
247 views3 pages

Eclipse Keyboard Shortcuts Guide

This document provides keyboard shortcuts for managing files, projects, editors, navigation, editing text, searching/replacing text, formatting code, and refactoring in the Eclipse IDE. Some key shortcuts include Ctrl+N to create a new project, F5 to refresh files, Ctrl+S to save the current file, Ctrl+F to find text, and Alt+Shift+R to rename a selected element and all its references.

Uploaded by

Giova Rossi
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)
247 views3 pages

Eclipse Keyboard Shortcuts Guide

This document provides keyboard shortcuts for managing files, projects, editors, navigation, editing text, searching/replacing text, formatting code, and refactoring in the Eclipse IDE. Some key shortcuts include Ctrl+N to create a new project, F5 to refresh files, Ctrl+S to save the current file, Ctrl+F to find text, and Alt+Shift+R to rename a selected element and all its references.

Uploaded by

Giova Rossi
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/ 3

Page 1 of 3

Eclipse cheat sheet


Ctrl + Home Jump to beginning of source
Managing files and projects
Ctrl + End Jump to end of source
Ctrl + N Create a new project with Wizard
Ctrl + Left arrow / Jump one word to the left / right
Ctrl + Alt + N Create a new project, file, class, Right arrow
etc.
Ctrl + Shift + Up Jump to previous / next method
Alt + F then . Open project, file, etc. arrow / Down
Ctrl + Shift + R Open resource file, folder or project arrow

Alt + Enter Show and access file properties Ctrl + L Jump to line number

F5 Refresh content of selected Ctrl + Q Jump to last edited location


element within local file system Ctrl + . or Ctrl + , Jump to previous / next compiler
Ctrl + S Save currently open file syntax warning or error

Ctrl + Shift + S Save all open files Ctrl + Shift + P With a bracket selected: Jump to
matching closing or opening
Ctrl + W Close currently open file
bracket
Ctrl + Shift + W Close all files
Ctrl + [ or Ctrl + ] Collapse / expand current method
or class
Editor Ctrl + Num - Collapse / expand current method
F12 Jump to the editor window or class

Ctrl + Page Down Switch to previous editor Ctrl + Num * Collapse / expand all methods or
classes
Ctrl + Page Up Switch to next editor
Ctrl + Up arrow / Scroll editor without changing
Ctrl + M Maximize or restore current editor
Down arrow cursor position
window (also works with other
windows) Alt + Page Up Previous sub-tab

Ctrl + E Show the list of open editors Alt + Page Down Next sub-tab

Ctrl + F6 Show the list of open editors, but


switch immediately when you Selecting text
release Ctrl
Shift + Left arrow / Expand selection by one character
Alt + Left arrow / Go to previous / next editor Right arrow to the left or right
Right arrow windows
Ctrl + Shift + Left Expand selection to the next or
Alt + - Open Editor Window Option menu arrow / Right previous word
Ctrl + F10 Show view menu arrow
Ctrl + F10 then N Show / hide line numbers Shift + Up arrow / Expand selection by one line up or
Ctrl + Shift + Q Show or hide the diff. column on Down arrow down
the left (column that indicates Shift + End Expand selection to end of line
changes since last save) Shift + Home Expand eslection to beginning of
Ctrl + Shift + + Zoom in line
Ctrl + Shift + - Zoom out Alt + Shift + Up Expand selection to current
arrow element

Navigation in editor window Alt + Shift + Left Expand selection to previous or


arrow / Right next element
Home Jump to beginning of indention. arrow
Press twice to jump to beginning of
Alt + Shift + Down Reduce previously expanded
the line
arrow selection by one step
End Jump to end of line
Page 2 of 3

Ctrl + / Comment / uncomment line or


Editing text selection (add //)
Ctrl + C Copy Ctrl + Shift + C Toggle comments
Ctrl + X Cut Ctrl + Shift + / Add block comment arount
Ctrl + V Paste selection (add /...*/)

Ctrl + Z Undo last action Ctrl + Shift + \ Remove block comment

Ctrl + Y Redo last undone action Alt + Shift + J Add element comment (add /** ...
*/)
Ctrl + D Delete line
Alt + Up arrow / Move current line or selection up or
Down arrow down Editing source code
Ctrl + Alt + Up Duplicate current line or selection Alt + Shift + S Open "Source" menu
arrow / Down up or down Ctrl + Space Open content assist (e.g. show
arrow available methods or field names)
Ctrl + Del Delete next word Ctrl + 1 Open quick fix and quick assist
Ctrl + Backspace Delete previous word Alt + / Suggest word completion (after
Shift + Enter Enter line below current line typing at least one letter). Press
Shift + Ctrl + Enter Enter line above current line repeatedly until reaching correct
name
Insert Switch between insert and
overwrite mode Ctrl + Shift + Insert Deactivate or activate Smart Insert
Mode (automatic indention,
Shift + Ctrl + Y Convert selection to lowercase
automatic brackets, etc.)
Shift + Ctrl + X Convert selection to uppercase

Code information
Search and replace
Ctrl + O Show code outline or structure
Ctrl + F Open find and replace dialog box
F2 Open class, method, or variable
Ctrl + K Find previous occurence of the information (show as tooltip text)
search term
F3 Open declaration: Jump to
Ctrl + Shift + K Find next occurence of the search Declaration of selected class,
term method, or parameter
Ctrl + H Search Workspace (Java search, F4 Open Type Hierarchy window for
Task search, and File search) selected item
Ctrl + J Incremental search forward Ctrl + T Show or open Quick Type
Ctrl + Shift + J Incremental search backwards Hierarchy for selected item

Ctrl + Shift + O Open a resource search dialog to Ctrl + Shift + T Open type in hierarchy
find any class Ctrl + Alt + H Open call hierarchy
Ctrl + Shift + U Find occurrences of expression in
Indentions and comments current file

Tab Increase indent of selected text Ctrl + Move the Open declaration or
mouse implementation
Shift + Tab Decrease indent of selected text
Ctrl + I Correct indention of selected text or
current line
Refactoring
Ctrl + Shift + F Auto format all code in editor using Alt + Shift + R Rename selected element and all
code formatter references
Page 3 of 3

Alt + Shift + V Move selected element to other Ctrl + Alt + I Add to svn:ignore
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
assign a variable from selected
expression
Alt + Shift + I Inline selected local variables,
methods or constants when
possible (replaces variable with its
declarations/ assignment and puts
it directly into the statements)

Running and debugging


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

Other
Ctrl + F7 Switch forward between panels.
Useful for switching back and forth
between Package Explorer and
Editor
Ctrl + Shift + F7 Switch backward between panels.
Useful for switching back and forth
between Package Explorer and
Editor
Ctrl + P Print
F1 Open Eclipse help
Shift + F10 Show context menu

Team (SVN Subversive)


Ctrl + Alt + S Synchronize with repository
Ctrl + Alt + C Commit
Ctrl + Alt + U Update
Ctrl + Alt + D Update to revision
Ctrl + Alt + E Merge
Ctrl + Alt + T Show properties

You might also like