Eclipse shortcut keys (for novice eclipse)

Source: Internet
Author: User

        

  Common shortcut keys for Eclipse

1. Common shortcut keys

alt+/: Often used to complement words, methods, and content assistance, can save a lot of things

Ctrl+1: For global, quick fix

Ctrl+d Delete an entire row

Ctrl+f for Global, find and replace

Ctrl+x Cut

Ctrl+h Display Search dialog box

Ctrl+shift+r Open Resources (r:resource resources)

Ctrl+shift+t Open Type (t:type type)

Alt+up/down Move the selected row up or down

Alt+left the previous edited page
Alt+right the next edited page

Alt+up/down Move up and down select a row

ctrl+shift+x/y into large/lowercase

Shift+left/right Select Previous/Next character

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 (the mouse can be anywhere in the current row, not necessarily the last)
Ctrl+q positioning to the last edited place
Ctrl+l positioning in a row (for people with programs over 100 have the gospel)
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+k text editor to find the next current selection
Alt+shift+j Java Editor method add comment
Alt+shift+z use Try/catch, if, do blocks to surround the selected code

2.class F shortcut keys
F2: Show Prompt/rename
F3: Open the declaration of the selected element
F4: Opens the Type inheritance structure of the selected element
F5: Refresh
F5:step into (Debug) Single Step Into
F6:step over (Debug) Single Step execution
F7:step return (Debug) Single Step back
F8:resume (Debug) Continue
F11:debug previous application (Debug)
F12: Activating editor

3. Refactoring

Alt+shift+r Renaming a method name, property, or variable name
Alt+shift+m the code in a function into a method
Alt+shift+c Modifying function structures
Alt+shift+l extracting local variables
Alt+shift+f change the local variable in class to a field variable
Alt+shift+i Merge variables
ALT+SHIFT+V moving functions and variables
Alt+shift+z refactoring cancellation (undo)

    

PS: Combined with the online and their usual summary, sort out some quick keys, there may be differences, hope common progress!!!

  

  

Eclipse shortcut keys (for novice eclipse)

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.