Eclipse Common shortcut keys

Source: Internet
Author: User

Shortcut keys to use

"     Ctrl+f6": Switch to the next editor.

" Ctrl+shift+f6": Switches to the previous editor.

Double-click the opening parenthesis (parentheses, brackets, curly braces) to select all the contents in parentheses

Ctrl+k: Hover the cursor over the variable and press ctrl+k to find the next same variable

Ctrl+shift+k: opposite to Ctrl+k lookup

Ctrl+e Quick display of the current editer drop- down list ( in bold if the current page does not appear )

CTRL+SHIFT+E displays the Manager that manages all of the currently open View ( You can choose to close , activate, and so on) )

Ctrl+q positioning to the last edited place

Ctrl+l positioning in a row ( for people who have more than one program , they 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+t quickly displays the inheritance structure of the current class

CTRL+SHIFT-T: opens type (opentype). If you don't intentionally skiving, forget to open it through the source tree.

Ctrl+o: Open a small window like outline view in your code

CTRL + mouse hover : can display the source code of classes and methods

Ctrl+h: Open the Search window

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

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

Ctrl+shift+f formatting of the current code

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+o: Importing import quickly

Ctrl+shift+r: Opening resource open Resource ctrl+shift+/ plus segment Comment /**/

Ctrl+shift+\ Canceling segment comments /**/

SHIFT+ALT+JT writing a document annotation to a method

F shortcut Key series

F3: Open the file that declares the reference

F4: Open type Hierarchy

F5: single-step jumping in

F6: One-step skip

F7: Step outside

F8: Continue, if there are no breakpoints, the program will run out of line edits

Ctrl+d: Delete the current row

ctrl+alt+↓ Copy the current line to the next line ( copy incremented )

ctrl+alt+↑ Copy the current line to the previous row ( copy incremented )

ALT +↓ the current line and the following line interact ( especially useful , You can save the first cut , then paste )

ALT +↑ The current line and the top row interaction position ( ibid. )

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 ) ctrl+shift+ Enter Inserts a blank line in the current line ( principle above ) infrequently used

ALT +← Previous edited page

ALT +→ next edit page ( of course, for the above article )

Ctrl+shift+s: Save All

Ctrl+w Closing the current editer

CTRL+SHIFT+F4 Close all open editer

Ctrl+shift+g: searching for references in workspace

Ctrl+shift+p to the match for ( for example , {}) ( after locating from the front , The cursor must be inside the match , back to the front , or vice versa )

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