Eclipse Shortcut Keys Download PDF
Eclipse is an included development surroundings (IDE) utilized in computer programming, and is the maximum widely used Java IDE.[6] It includes a base workspace and an extensible plug-in machine for customizing the surroundings. Eclipse is written in most cases in Java and its number one use is for developing Java applications, but it is able to also be used to develop programs in other programming languages through plug-ins, along with Ada, ABAP, C, C++, COBOL, D, Fortran, Haskell, JavaScript, Julia,[7] Lasso, Lua, natural, Perl, Hypertext Preprocessor, Prolog, Python, R, Ruby (inclusive of Ruby on Rails framework), Rust, Scala, Clojure, Groovy, Scheme, and Erlang. it is able to additionally be used to develop files with LaTeX (via a TeXlipse plug-in) and packages for the software Mathematica. improvement environments include the Eclipse Java improvement tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for php, amongst others.
Eclipse Shortcut Keys
Shortcut Key | Information | State |
Ctrl + N | Create a Java element or a new resource. Configure which elements are shown in the submenu in Window > Customize Perspective. In a Java perspective, by default action for creating a project, package, class, interface , source folder, scrapbook, file and folder are available. | New |
Ctrl + F4 | Close the current editor. If the editor contains unsaved data, a save request dialog will be shown. | Close |
Ctrl + Shift + F4 | Close all editors. If editor contains unsaved data, a save request dialog will be shown. | Close All |
Ctrl + S | Save the content of the current editor. Disabled if the editor does not contain unsaved changes. | Save |
Shift + Ctrl + S | Save the content of the current editor under a new name. | Save as |
Ctrl + Shift + S | Save the content of all editors with unsaved changes. Disabled if no editor contains unsaved changes. | Save All |
Ctrl + P | Prints the content of the current editor. Enabled when an editor has the focus. | |
Ctrl + Z | Revert the last change in the editor | Undo |
Ctrl + Y | Revert an undone change | Redo |
Ctrl + X | Copies the currently selected text or element to the clipboard and removes the element. On elements, the remove is not performed before the clipboard is pasted. | Cut |
Ctrl + C | Copies the currently selected text or elements to the clipboard | Copy |
Ctrl + V | Paste the current content as text to the editor, or as a sibling or child element to the a currently selected element. | Paste |
Delete | Delete the current text or element selection. | Delete |
Ctrl + A | Select all the editor content.. | |
Ctrl + F | Open the Find / Replace dialog. Editor only. | Find / Replace |
Ctrl + K | Finds the next occurrence of the currently selected text. Editor only. | Find Next |
Ctrl + Shift + K | Finds the previous occurrence of the currently selected text. Editor only. | Find Previous |
Ctrl + J | Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only. | Incremental Find Next |
Ctrl + Shift + J | Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only. | Incremental Find Previous |
Alt + Enter | Add a user defined task to the current text selection or selected element. | Add Task |
Alt + Shift + Top Arrow | Enclosing Element: Selects the enclosing expression, block, method in the code. This action is aware of the Java syntax. It may not function properly when the code has syntax errors. (Arrow Up). | Expand Selection to |
Alt + Shift + > | Next Element: Selects the current and next element. (Arrow Right) | Expand Selection to |
Alt + Shift + < | Previous Element: Selects the current and the previous element (Arrow Left) | Expand Selection to |
Alt + Shift + Bottom Arro | Restore Last Selection: After an invocation of Expand Selection to restore the previous selection. (Arrow Down) | Expand Selection to |
F2 | Shows the value of a hover that would appear at the current cursor location. The dialog shown is scrollable and does not shorten descriptions. | Show Tooltip Description |
Ctrl + Space | Opens a context assist dialog at the current cursor position to bring up Java code assist proposals and templates. See the Templates preference page for available templates (Window > Preferences > Java > Editor > Templates) and go to the Editor preference page (Window > Preferences > Java > Editor > Code Assist) for configuring the behavior of code assist. | Content Assist |
Ctrl + 1 | If the cursor is located at a location with problem indication this opens a context assist dialog at the current cursor to present possible corrections. | Quick Fix |
Ctrl + Shift + Space | If the cursor is located at the parameter specification for method reference, this actions shows a hover with parameter types information.The parameter at the current cursor location is shown in bold. | Parameter Hints |
F3 | Tries to resolve the element referenced at the current code selection and opens the file declaring the reference. | Open |
F4 | Tries to resolve the element referenced at the current code selection and opens the element in the Type Hierarchy view. Invoked on elements, opens the type hierarchy of the element. Supported in the Java editor and views showing Java elements. | Open Type Hierarchy |
Shift + F2 | Opens the Javadoc documentation of the currently selected element or text selection. The location of the Javadoc of a JAR or a project is specified in the Javadoc Location property page on projects or JARs. Note that this external Javadoc documentation may not be up to date with the Javadoc specified in the current code. You can create Javadoc documentation for source files in a Java project using the Javadoc export wizard. | Open External Javadoc |
Ctrl + Shift + T | Brings up the Open Type selection dialog to open a type in the editor.The Open Type selection dialog shows all types existing in the workspace. | Open Type |
Ctrl + Shift + H | Brings up the Open Type selection dialog to open a type in the editor and the Type Hierarchy view. The Open Type selection dialog shows all types that exist in the workspace. | Open Type In Hierarchy |
Ctrl + O | Opens the lightweight outliner for the currently selected type. | Show Outline |
Ctrl + . | Selects the next problem. Supported in the Java editor. | Go to Next Problem |
Ctrl + , | Selects the previous problem. Supported in the Java editor. | Go to Previous Problem |
Ctrl + Q | Reveal the location where the last edit occurred. | Go to Last Edit Location |
Ctrl + L | Opens an a dialog which allows entering the line number to which the editor should jump to. Editor only. | Go to Line |
Ctrl + H | Opens the search dialog | Search… |
Ctrl + Shift + U | Finds all occurrences of the selected Java element in its file | Occurrences in File |
Ctrl + B | Builds the all projects in the workspace. This is an incremental build, means that the builder analyzes the changes since the last time of build and minimizes the number of changed files. | Build All |
Ctrl + / | Comments out all lines containing the current selection. | Comment |
Ctrl + | | Indent current line. | Indent |
Tab | Increments the level of indentation of the currently select lines. Only activated when the selection covers multiple lines or a single whole line. | Shift Right |
Shift + Tab | Decrements the level of indentation of the currently select lines. Only activated when the selection covers multiple lines or a single whole line. | Shift Left |
Ctrl + Shift + F | Uses the code formatter to format the current text selection. The formatting options are configured on the Code Formatter preference page (Window > Preferences > Java > Code Formatter) | Format |
Ctrl + Shift + O | Organizes the import declarations in the compilation unit currently open or selected. Unnecessary import declarations are removed, and required import declarations are ordered as specified in the Organize Import preference page (Window > Preferences > Java > Organize Import). Organize import can be executed on incomplete source and will prompt you when a referenced type name can not be mapped uniquely to a type in the current project. You can also organize multiple compilation units by invoking the action o | Organize Imports |
Ctrl + Shift + M | Creates an import declaration for a type reference currently selected. If the type reference if qualified, the qualification will be removed if possible. If the referenced type name can not be mapped uniquely to a type of the current project you will be prompted to specify the correct type. Add Import tries to follow the import order as specified in the Organize Import preference page. | Add Import |
Alt + Shift + Z | Does an Undo of the last refactoring. The refactoring undo buffer is only valid as long as no other source changes than refactoring have been performed. | Undo |
Ctrl + Shift + Y | Does a Redo of the last undone refactoring. The refactoring undo/redo buffer is only valid as long as no other source changes than refactoring have been performed. | Redo |
Alt + Shift + R | Starts the Rename refactoring dialog: Renames the selected element and (if enabled) corrects all references to the elements (also in other files). Is available on methods, fields, local variables, method parameters, types, compilation units, packages, source folders, projects and on a text selection resolving to one of these element types. | Rename |
Alt + Shift + V | Starts the Move refactoring dialog: Moves the selected elements and (if enabled) corrects all references to the elements (also in other files). Can be applied to one instance method (which can be moved to a component), one or more static methods, static fields, types, compilation units, packages, source folders and projects and on a text selection resolving to one of these element types. | Move |
Alt + Shift + I | Starts the Inline refactoring dialog. Inlines local variables, methods or constants. This refactoring is available on methods, static final fields and text selections that resolve to methods, static final fields or local variables. | Inline |
Alt + Shift + L | Starts the Extract Method refactoring dialog. Creates a new method containing the statements or expression currently selected and replaces the selection with a reference to the new method. You can use Expand Selection from the Edit menu to get a valid selection range. This feature is useful for cleaning up lengthy, cluttered, or overly-complicated methods. | Extract Method |