Eclipse common shortcut keys, worth to cherish

Source: Internet
Author: User

MyEclipse shortcut keys

-------------------------------------

MyEclipse shortcut key 1 (CTRL)

-------------------------------------

Ctrl+1 Quick Fix

Ctrl+d: Delete When moving forward

Ctrl+q positioning to the last edited place

Ctrl+l positioning in a row

Ctrl+o Quick Display OutLine

Ctrl+t quickly displays the inheritance structure of the current class

Ctrl+w Closing the current editer

Ctrl+k quickly navigate to the next

Ctrl+e quick display of the current Editer drop-down list

Ctrl+j forward Incremental lookup (after pressing CTRL+J, each letter editor you enter provides a quick match to navigate to a word, and if not, the display in Stutes line is not found,)

CTRL + Z returns to the pre-modified state

Ctrl+y Contrary to the above operation

ctrl+/comment on the current line, and then uncomment it

Ctrl+d Delete the current row.

Ctrl+q jumps to the last edit place

Ctrl+m the size of the switch window

Ctrl+i formats the active element in format active Elements.

Ctrl+f6 Switch to the next editor

CTRL+F7 switch to the next perspective

Ctrl+f8 switch to the next view

------------------------------------------

MyEclipse shortcut key 2 (ctrl+shift)

------------------------------------------

Ctrl+shift+e Display manager that manages all of the currently open view (you can choose to close, activate, and so on)

ctrl+shift+/Automatic Comment Code

Ctrl+shift+\ automatically cancels code that has been commented

Ctrl+shift+o Automatic Boot class package

CTRL+SHIFT+J Reverse incremental lookup (same as above, except forward)

Ctrl+shift+f4 Close all open editer

Ctrl+shift+x turns the currently selected text to lowercase

Ctrl+shift+y turns the currently selected text to lowercase

Ctrl+shift+f formatting of the current code

CTRL+SHIFT+M (placing the cursor on the class name of the package to be imported) is to add an import statement

Ctrl+shift+p position to the match (for example {}) (after locating from the front, the cursor is in the match, back to front, or vice versa)

Ctrl+shift+f formatted file format document.

The Ctrl+shift+o effect is that the missing import statement is added and the extra import statement is deleted.

Ctrl+shift+s Save all unsaved files.

ctrl+shift+/is this/*~*/comment in the Code window, which is the <!--~--> in the JSP file window.

Shift+ctrl+enter Insert blank line in current line (principle above)

-----------------------------------------

MyEclipse shortcut Key 3 (ALT)

-----------------------------------------

alt+/Code Helper to complete the insertion of some code, automatically display the prompt information

Alt+↓ the current line and the next line of interaction (especially useful, can be omitted first cut, then pasted)

Alt+↑ the current line and the upper row interaction position (IBID.)

alt+← the previous edited page

alt+→ next Edit page (of course, for the above article)

Alt+enter displays the properties of the currently selected resource (project, or file or file)

MyEclipse shortcut key 4 (Alt+ctrl)

Alt+ctrl+↓ Copy the current row to the next row (replication incremented)

Alt+ctrl+↑ Copy the current line to the previous row (replication incremented)

-------------------------------------------

MyEclipse shortcut key 5 (alt+shift)

-------------------------------------------

Alt+shift+r renaming

Alt+shift+m Extraction Method

Alt+shift+c Modify the function structure (more practical, there are n functions called this method, modified once done)

Alt+shift+l extracting local variables

Alt+shift+f change the local variable in class to a field variable

Alt+shift+i Merge variables

ALT+SHIFT+V moving functions and variables

Alt+shift+z reconstruction of Regret medicine (Undo) shift+enter inserts a blank line on the next line of the current line (at which point the mouse can be at any position in the current row, not necessarily the last)

Alt+shift+o (or click the Toggle Mark Occurrences button in the toolbar) when you click on a marker to make this marker yellow on the other side of the page, and the right border of the window appears with a white square, clicking this block jumps to the marker.

The following shortcut keys are commonly used in refactoring, I like and commonly used to tidy up (note: General refactoring of the shortcut keys are alt+shift beginning of the)

--------------------------------------------

MyEclipse shortcut keys (6)

--------------------------------------------

F2 when the mouse is placed on a marker, when the ToolTip is pressed F2, the ToolTip will also be displayed as the show ToolTip Description when the mouse is moved.

F3 jumps to the place of declaration or definition.

F5 One-step debugging into the inside of the function.

F6 single-Step debugging does not enter the function inside, if installed PowerWord 2006 to the "Take the word switch" shortcut keys to change to other.

The F7 is returned from inside the function to the call point.

F8 continues to the next breakpoint.

To see our technology is good and bad, the key lies in our proficiency in the tool, shortcut keys can greatly improve our development efficiency.

Eclipse common shortcut keys, worth to cherish

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.