Eclipse shortcut keys

Source: Internet
Author: User

Ijiejianctrl+1Quick Fix(The most classic shortcut keys,you don't have to say more.)
Ctrl+d:Delete current row
Ctrl+alt+↓Copy the current line to the next line(Replication Increase)
Ctrl+alt+↑Copy the current line to the previous row(Replication Increase)
Alt+↓the current line and the following line interact with the position(particularly useful,you can eliminate the first cut,paste it again.)
Alt+↑the current line and the previous row interaction position(Ibid .)
alt+←previous edited page
alt+→Next Editor's page(of course it's for the top one.)
Alt+entershow current selection resource(Engineering, orfileorfile)of the Properties
Shift+enterinserts a blank line on the next line in the current row(The mouse can be in any position on the current line,Not necessarily the last)
Shift+ctrl+enterinserts a blank line in the current row(principle of the same article)
Ctrl+qNavigate to the last edited place
Ctrl+lposition in a row(for programs over -people will have the gospel.)
Ctrl+mmaximizes the currentEditorView (and then press the reverse .)
ctrl+/Comment Current line,Cancel the comment by pressing it again
Ctrl+oQuick DisplayOutLine
Ctrl+tquickly display the inheritance structure of the current class
Ctrl+wClose the currentEditer
Ctrl+krefer to the selectedWordquickly navigate to the next
Ctrl+equickly displays the currentEditerthe drop-down list(If the current page is not displayed in bold)
ctrl+/(Small Keyboard) collapse All code in the current class
Ctrl+x (Small Keyboard) expands all code in the current class
Ctrl+spaceCode Helper To do some code insertion(but general and input method have conflict,You can modify the hotkey of the input method,can also take upalt+/to replace)
Ctrl+shift+eDisplay manages all the currently openViewthe manager(you can choose to close,activation and other actions)
Ctrl+jForward Incremental Lookup(Press thectrl+jafter,Each letter editor you enter provides a quick match to navigate to a word,If not,then instutes Linethe display is not found.,When you look up a word,particularly useful,this feature IdeaI had it two years ago.)
Ctrl+shift+jReverse Incremental Lookup(same as the previous bar,It's just a back -and-forth look.)
Ctrl+shift+f4Close all openEditer
Ctrl+shift+xmake the currently selected text stale in lowercase
Ctrl+shift+yturns the currently selected text all lowercase
Ctrl+shift+fformatting the current code
Ctrl+shift+pto navigate to the matching character for(For Example{}) (when you position the back from the front,The cursor must be inside the match .,back to the front .,the reverse)

The following shortcut keys are commonly used in refactoring,I like and commonly used to organize(Note:the shortcut keys for general refactoring areAlt+shiftthe beginning.)
Alt+shift+r Renaming(It's my favorite one.,in particular, variables and classesRename,can save a lot of labor than a manual method)
Alt+shift+mExtraction Method(This is one of the most common methods of refactoring.,especially useful for a whole bunch of mud codes .)
Alt+shift+cModify function Structure(more Practical,have aNThis method is called by a function,Fix it once .)
Alt+shift+lextracting local variables( you can simply extract some magic numbers and strings into a variable .,especially when multiple calls are in place.)
Alt+shift+fputClassin theLocalvariable becomesFieldvariables(more Practical features)
Alt+shift+iMerge Variables(Maybe it's a little inappropriate.Inline)
Alt+shift+vmoving functions and variables(Not very common .)
Alt+shift+zReconstruction of the regret medicine(Undo)

Edit
scope function Shortcut keys
Global Find and replacectrl+f
The text editor finds the previousctrl+shift+k
Text Editor Find Nextctrl+k
Global undoCtrl + Z
Global replicationCtrl + C
Global Restore Previous selectionalt+shift+↓
Global clippingctrl+x
Global Quick Fixctrl1+1
Global Content Assistancealt+/
Global All selectedCtrl + A
Global DeleteDelete
Global Context InformationALT +?
Alt+shift+?
Ctrl+shift+space
JavaEditor Display tooltip descriptionF2
JavaEditor Selection encapsulation elementalt+shift+↑
Javathe editor selects the previous elementalt+shift+←
Javathe editor selects the next elementalt+shift+→
Text Editor Incremental Lookupctrl+j
Text Editor Incremental Reverse Lookupctrl+shift+j
Paste globallyCtrl + V
Global RedoCtrl+y

Eclipse shortcut keys

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.