Eclipse Utility shortcut keys

Source: Internet
Author: User

Ctrl+o Quick Jump, you can also search. (Memory method,OUtline) ctlr+ move the line up and down, this good memory ctrl+shift+r like Win+r Open and search for Files ctrl+m enlarge reply window size Ctrl+shift+o Import package, such as write the onclick quickly after the next good ctrl+1 create a method After writing a method ctrl+pageup pagedown tab Toggle Ctrl+w Close the current editer this is actually generic

For + Control-space:

If you do not know yet, then you should remember that Control-space is the auto-complete feature. In Eclipse, you can also automate the structure. In an array or collection range, try entering "for" and then pressing the Control-space key. Eclipse will ask you which collection you want to traverse and automatically complete the loop code.

Most commonly used (common):

Ctrl+s CTRL + C CTRL + V, this won't be said.

ctrl+/Ctrl + Left button

Ctrl+d Delete Row Ctrl+shift+f4 Close all open editerctrl+shift+x the currently selected text is all stale lowercase ctrl+shift+y The currently selected text all lowercase ctrl+shift+f formatting the current code

Debug/Run
scope function Shortcut keys
Global single-Step return F7
Global single-Step skip F6
Global single-step jump into F5
Global single-Step jump selection Ctrl+f5
Global Debug Last started F11
Global Continue F8
Global use filters to step SHIFT+F5
Global Add/Remove breakpoints Ctrl+shift+b
Global Display Ctrl+d
Global Run last boot ctrl+f11
Global Run to row ctrl+r
Global Execution Ctrl+u

The following shortcut keys are commonly used in refactoring,

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

Alt+shift+r rename (is my own favorite, especially the variables and classes of rename, than the manual method can save a lot of labor)

Alt+shift+m Extraction Method (This is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)

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

Alt+shift+l extract Local variables (you can directly extract some magical numbers and strings into a variable, especially when multiple calls are made)

Alt+shift+f change the local variable in class to a field variable (more useful function)

Alt+shift+i Merge variables (this may be a bit inappropriate inline)
ALT+SHIFT+V moving functions and variables (not commonly used)
Alt+shift+z reconstruction of Regret medicine (Undo)

Eclipse Utility 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.