Eclipse Common shortcut keys

Source: Internet
Author: User

shortcut keys do not work: One does not define two conflicts (conflicts in Eclipse, shortcut key conflicts for Eclipse and other software)
shift,ctrl,r: Open a resource shift,ctrl,t: Open type (easy to find files) shift,enter move the cursor down to create a blank line, shift,ctrl,enter the cursor up to create a blank line shift,ctrl,f: Automatic typesetting shift,ctrl,p: brackets match shift,ctrl,s: Save all unsaved Filesshift,alt,r: Variable renameshift,home,end: Select a rowshift,ctrl,o function is missing import statement is added, extra import statement is deletedAlt+shift+m Extraction Method (This is one of the most common methods of refactoring, especially useful for a lot of mud code) alt+shift+l extracting local variables
ctrl,h: Global file Searchctrl,m: Large screen display CTRL, left mouse button: Enter definition of class or method ctrl,/: Select comment or undo comment ctrl+d Delete current row ctrl+e quickly display the current Editer drop-down list (if the current page does not appear in bold) ctrl+t Quickly display the inheritance structure of the current class Ctrl+o quick display outlinectrl+f Find/replace ctrl+w close current Editerctrl+alt+↓ Copy the current line to the next line ctrl+alt+↑ copy the current line to the previous row
alt+↓ The current row and the following line interact alt+↑ the current row and the row above the interaction positionalt+← the previous edited page alt+→ the next edited page (for that one, of course) ctrl,shift,l: View all code Shortcuts F2 Show Details F3 jump to the place of declaration or definition
ctrl+l positioning in a row ctrl+k referencing the selected word quickly navigates to the next ctrl+-(keypad) collapses all code in the current class ctrl++ (keypad) expands all code in the current class Ctrl+j forward incremental lookup (view state Bar) ( CTRL+SHIFT+J Reverse Incremental lookup) Alt+enter displays the properties of the currently selected resource (Project/File/file) Ctrl+shift+m (placing the cursor on the class name of the package to be imported) is to add an import statement ctrl+shift+ W Close all currently open files Ctrl+shift+s Save all unsaved files Ctrl+shift+e Show manager that manages all of the currently open view (you can choose to close, activate, etc.) Ctrl+shift+x make the currently selected text all uppercase Ctrl + Shift+y change the currently selected text to lowercase ctrl+shift+j reverse incremental lookup (Ctrl+j forward incremental lookup) Alt+shift+c Modify the method structure (more practical, there are multiple classes called this method, modified once done) alt+shift+f Change the local variable in class to the field variable alt+shift+i to separate the native variable (as opposed to the local variable) alt+shift+z reconstruction of the Regret Medicine (Undo)
JSP shortcut KeysAdd and delete notes: shift,ctrl,/Shift,ctrl,\

 

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.