Eclipse and MyEclipse shortcut keys

Source: Internet
Author: User

(1) Ctrl+m--the size of the switch window
(2) Ctrl+q--Skip to the last editing place
(3) 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--stepping into the function inside.
F6---One-step debugging does not enter the function inside, if installed PowerWord 2006 to the "Take the word switch" shortcut keys to change to other.
F7--returned from inside the function to the call.
F8--executes to the next breakpoint.
(4) ctrl+pg~--For the XML file is the Toggle Code and Diagram window
(5) Ctrl+alt+i--see information about variables in Java files
(6) Ctrl+pgup--For the code window is to open the "Show List" drop-down box, in this drop-down box shows the most recently opened files
(7) ctrl+/--This//~ annotation is in the code window.
ctrl+shift+/-In the code window is this/*~*/comment, in the JSP file window is the "!--~--〉.
(8) 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 will appear white squares, click this block will jump to this mark.
(9) Right-click on the left border of the window, where the breakpoint is added, select Show line numbers to add lines.
(ctrl+i) Formats the active element in format active Elements.
Ctrl+shift+f formatted file format document.
(one) Ctrl+s save the current file.
Ctrl+shift+s Save all unsaved files.
CTRL+SHIFT+M (placing the cursor on the class name of the package to be imported) acts as an add import statement.
The Ctrl+shift+o effect is that the missing import statement is added and the extra import statement is deleted.
Ctrl+space prompts you to type content Assist, and then you want to change the input method Chinese (Simplified) Ime-ime/nonlme Toggle shortcut keys (for switching English and other text) to other.
The Ctrl+shift+space prompt message is the context information.
(14) Double-click the left border of the window to add a breakpoint.
(ctrl+d) deletes the current row.

---to be continued

[Reproduced below]
Eclipse shortcut Keys Daquan
Ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say more)
Ctrl+d: Delete When moving forward
Ctrl+alt+↓ Copy the current row to the next row (replication incremented)
Ctrl+alt+↑ Copy the current line to the previous row (replication incremented)

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)

Shift+enter inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last)
Shift+ctrl+enter Insert blank line in current line (principle above)

Ctrl+q positioning to the last edited place
Ctrl+l positioning in a row (for people with programs over 100 have the gospel)
Ctrl+m maximize the current edit or view (and vice versa)
ctrl+/comment on the current line, and then uncomment it
Ctrl+o Quick Display OutLine
Ctrl+t quickly displays the inheritance structure of the current class
Ctrl+w Closing the current editer
Ctrl+k the selected word quickly navigates to the next
Ctrl+e quick display of the current Editer drop-down list (in bold if the current page does not appear)

ctrl+/(numpad) collapses all code in the current class

Ctrl+x (keypad) expands all code in the current class

Ctrl+space Code Helper to complete the insertion of some code (but the general and IME conflict, you can modify the input method hotkey, you can also take up alt+/to replace)

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

Ctrl+j forward Incremental lookup (after pressing CTRL+J, each letter editor you enter provides a quick match to navigate to a word, if not, it is not found in the Stutes line, check a word, especially useful, this function idea two years ago)

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

Ctrl+shift+f4 Close all open editer

Ctrl+shift+x the text that is currently selected is all stale lowercase

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

Ctrl+shift+f formatting of the current code

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)

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)

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 and MyEclipse 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: 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.