Eclipse shortcut key plug-in shortcuts to increase development speed

Source: Internet
Author: User

The so-called "工欲善其事 its prerequisite", a good development tool to improve the development efficiency is very good, inadvertently found on the Internet shortcuts This Eclipse plug-in, provides a variety of Eclipse features shortcut keys, the core is a shortcut input window, Through this shortcut input window you can create items, classes, which are not very convenient. Below describes its function, first to Http://code.google.com/p/shortcuts-plugin/downloads/detail?name=shortcuts.plugin_1.0.2.jar&can =2&q= Download the plugin and put it into Eclipse's plugins directory (I'm using eclipse3.7) to start Eclipse.

After loading the plug-in to start eclipse, you can use ctrl+3 to pull out the Shortcuts shortcut input window as follows, you can enter any command, you can enter a part of the command, shortcuts will automatically suggest you can enter the command.

Here's an introduction to its shortcuts (most of which are Eclipse's own shortcut keys): navigating shortcut keys

shortcut Keys Description
CTRL + SHIFT + R Open/Search for resources such as: file
CTRL + SHIFT + T Open/Search type, such as: Class, interface
CTRL + E Find editor from an open editor
CTRL + F8 Toggle View (Perspectives)
Alt +←or Alt +→ Navigate to the previous or next editor in the history
Ctrl-pageup/pagedown Switch to the previous or next editor
F3 To the definition of the specified variable
CTRL + SHIFT + P To match the specified bracket (bracket)


Search shortcut keys

shortcut Keys Description
Ctrl +. Navigate to the next error
Ctrl +, Navigate to the previous error
F4 on a variable Displays the hierarchy of the current type (show type hierarchy)
CTRL + J, CTRL + K Enhanced Search to find Next
CTRL + SHIFT + G Find references in Workspace


Run shortcut keys

shortcut Keys Description
Ctrl + F11 Running a recently running project
Alt + Shift + x-j Run the current Java class using the Java application method


Edit shortcut Keys

shortcut Keys Description
CTRL + 1 Quickfix depending on where the cursor is located
CTRL + Space Code Assistant completes some code inserts (but general and the input method has the conflict, may modify the input method the hot key, may also take up alt+/to replace)
CTRL + T View subclasses of the current class
CTRL + O Displays all methods of the current class, and then enters the method that displays the inheritance again
F12 Activate editor
Ctrl + M Maximize Editor
CTRL + Shift + F Formatting code
CTRL + Shift + O Organization Import
CTRL + Q Navigate to the last edited place


arrow keys related shortcut keys

shortcut Keys Description
CTRL + Left The cursor moves to the left of the element
CTRL + Right The cursor moves to the right of the element
CTRL + ALT + up/down Copy as Forward
ALT + Up/down Move Up/down line
ALT + SHIFT Up/down Select the previous or last element according to the syntax
ALT + SHIFT Up/down/left/right Extending/reducing the selection of the Previous/next syntactical element
CTRL + Up/down Roll up/Down line


Remove shortcut keys

shortcut Keys Description
Ctrl + D Delete When moving forward
CTRL + SHIFT + DEL Delete the contents of the current line
CTRL + DEL Delete Next element
CTRL + BACKSPACE Delete previous element


variable Assignment Shortcuts (no use)

Shortcut Description
Ctrl + 2 + L Assign statement to new local variable
Ctrl + 2 + F Assign Statement to new Field


encoding shortcut keys

shortcut Keys Description
Shift + F2 View Javadoc
Alt+shift + N + letter (no use) Type shortcut for the command, e.g. NJC to create a new Java class or NPIP to create a new Plugin project
Alt + Shift + Z Using Try...catch to include code


Refactoring shortcut keys

shortcut Keys Description
ALT + SHIFT + R Renaming
Ctrl+2, R (no use) Rename locally (in file), faster then ALT + SHIFT + R
ALT + SHIFT + T
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.