Some shortcut keys of myeclipse are incorrect or are not supplemented.

Source: Internet
Author: User

Some shortcut keys of myeclipse are incorrect or are not supplemented.

Ctrl + 1Quick Fix
Ctrl + DDelete current row
Ctrl + Alt + ↓Copy the current row to the next row (copy added)
Ctrl + Alt + ↓Copy the current row to the previous row (copy added)
Alt + ↓Interaction position between the current row and the following row
Alt + ↓Interaction between the current row and the preceding row (same as above)
Alt + ↓Previous edited page
Alt + →The next page to be edited (for the previous one, of course)
Alt + EnterDisplays the properties of the selected resource.
Shift + EnterInsert empty rows in the next row of the current row
Shift + Ctrl + EnterInsert null rows in the current row
Ctrl + QLocate the Last edited location
Ctrl + LLocate in a row [enter 500, that is, quickly lock to 500th rows]
Ctrl + MMaximize the current Edit or View (and then press the reverse button)
Ctrl +/Comment the current row, and then click to cancel the comment
Ctrl + OQuick display of OutLine
Ctrl + TQuickly display the inheritance structure of the current class
Ctrl + WDisable the current Editer
Ctrl + KRefer to the selected Word to quickly locate to the next
Ctrl + EQuickly display the drop-down list of the current Editer
Ctrl +/(Keypad) collapse all code in the current class
Ctrl + ×(Keypad) show all the code in the current class
Ctrl + Shift + EDisplays the managers that manage all Opened Views (you can choose to disable, activate, and perform other operations)
Ctrl + JForward incremental search
Ctrl + Shift + JReverse incremental search (the same as the previous one, but only from the back to the front)
Ctrl + Shift + F4Disable all Editer Enabled
Ctrl + Shift + XChange all selected text to lowercase
Ctrl + Shift + YChange all selected text to lowercase
Ctrl + Shift + FFormat the current Code
Ctrl + Shift + PLocate the matched character (for example, {}) (when positioning from the front to the back, the cursor should be inside the matching character, followed by the front, and vice versa)

 

The following shortcut keys are commonly used in refactoring (note: the shortcut keys for refactoring generally start with Alt + Shift)

 

Alt + Shift + RRename (especially renaming variables and classes, which is very convenient)
Alt + Shift + MExtraction Method (this is one of the most common methods in refactoring)
Alt + Shift + CModify the function structure (more practical. N functions have called this method and can be modified once)
Alt + Shift + LExtract local variables
Alt + Shift + FChange the local variable in the Class to the field variable.
Alt + Shift + IMerge Variables
Alt + Shift + VMoving functions and variables
Alt + Shift + ZCancel Reconstruction

 

Edit

 
Global Search and replacementCtrl + F
Global RevocationCtrl + Z
Global ReplicationCtrl + C
Global Recovery previous selectionAlt + Shift + ↓
Global cutCtrl + X
Global Fast CorrectionCtrl + 1
Global content assist Alt +/
Globally selectedCtrl +
Globally Delete selected codeDelete

Global PasteCtrl + V
Global redoCtrl + Y [reverse operation of Ctrl + Z]

 

View

Global zoom inCtrl + = [code can be zoomed in or out]
Global reductionCtrl +-

 

Window

 
Global activation EditorF12
Global switch EditorCtrl + Shift + W 
Global EditorCtrl + Shift + F6
Global ViewCtrl + Shift + F7
Global PerspectiveCtrl + Shift + F8 
Global next editorCtrl + F6
Next Global ViewCtrl + F7
Next Global PerspectiveCtrl + F8
Text Editor display ruler context menuCtrl + W
Global View menuCtrl + F10 
Global Display System MenuAlt +-

 

Navigation

Java editor Open StructureCtrl + F3
Global Open TypeCtrl + Shift + T
Global Open Type hierarchyF4
Global open declarationF3
Globally open resourcesCtrl + Shift + R
Global rollback historyAlt + ↓
Global forward historyAlt + →
GlobalCtrl +,
Global nextCtrl +.
Java editor display outlineCtrl + O
Type is enabled globally in the hierarchyCtrl + Shift + H
Go Global to matching bracketsCtrl + Shift + P
Go global to the previous editing locationCtrl + Q 
Go to the previous Member in the Java EditorCtrl + Shift + continue
Go to the next member in the Java EditorCtrl + Shift + continue
Text Editor to go to lineCtrl + L

 

Search


Globally appears in the fileCtrl + Shift + U
Global Search dialog boxCtrl + H
Global workspace DeclarationCtrl + G
Reference in global WorkspaceCtrl + Shift + G

 

Text editing


Text Editor rewrite SwitchInsert
Roll row on the text editorCtrl + ← 
Rolling row in the text editorCtrl + ←

 

File


Save globallyCtrl + S
Global PrintingCtrl + P 
Global ShutdownCtrl + F4 
Save all globallyCtrl + Shift + S [Save all modified java files]
Disable all globallyCtrl + Shift + F4 
Global attributesAlt + Enter
Global CreationCtrl + N

Source code

 
Java editor formattingCtrl + Shift + F
Java editor commentsCtrl +/[PS: Click again to cancel the comment]
Java editor organization ImportCtrl + Shift + O [automatically import the required jar package]

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.