Frequently used Eclipse Shortcuts (recommended) _java

Source: Internet
Author: User

Ctrl+1 Quick Fix

Ctrl+d: Delete When moving forward

Ctrl+alt+↓ copy current line to next line (copy increase)

Ctrl+alt+↑ copy current line to previous line (copy increase)

Alt+↓ the current line and the following line of interactive position (especially practical, you can save the first cut, then paste)

Alt+↑ the current row and the previous line of interaction position (IBID.)

alt+← the previous edited page

alt+→ the next edited page

Alt+enter displays the properties of the currently selected resource (project, or file or file)

Shift+enter inserts a blank line on the next line in the current row

Shift+ctrl+enter inserts a blank line on the current line

Ctrl+q positioning to the last edit place

Ctrl+l positioned on a line

Ctrl+m maximizes the current edit or view (and then vice versa)

ctrl+/Note the current line, and then press to uncomment

Ctrl+o Quick Display OutLine

Ctrl+t quickly displays the inheritance structure of the current class

Ctrl+w closes the current editer

alt+/Code Assistant completes the insertion of some code

CTRL+SHIFT+E Displays the manager that manages all currently open view (you can choose to turn off, activate, and so on)

CTRL+SHIFT+F4 Closes all open editer

Ctrl+shift+x the currently selected text into uppercase

Ctrl+shift+y the text that is currently selected into lowercase

Ctrl+shift+f Format the current code

Ctrl+shift+p navigates to the matching character (for example {}) (when positioned from the front, the cursor is in the match, back to the front, and vice versa)

--alt+shift start

Alt+shift+r Renaming (rename of variables and classes)

Alt+shift+m Extraction Method (This is one of the most commonly used methods in refactoring, especially for a large pile of mud code)

Alt+shift+c Modify the function structure (more practical, there are n functions called this method, modify a fix)

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

Alt+shift+f The local variables in class into field variables (more practical features)

Alt+shift+i Merge variables (this may be a bit inappropriate to say inline)

ALT+SHIFT+V move functions and variables (not commonly used)

Alt+shift+z re-construction of regret medicine (Undo)

Alt+shift+j method Add Comment

--Navigation

scope function Shortcut keys

Global Open Type Ctrl+shift+t

Global Open Resource Ctrl+shift+r

Java Editor Display outline Ctrl+o

Global open type in hierarchy Ctrl+shift+h

Global go to matching bracket ctrl+shift+p

Go global to previous edit location Ctrl+q

Java editor go to previous member ctrl+shift+↑

Java editor go to next member ctrl+shift+↓

Text editor go to row ctrl+l

--run

scope function Shortcut keys

Global Single Step Return F7

Global Single Step Skip F6

Global single Step hop into F5

Global Single Step Jump selection Ctrl+f5

Global debugging last started F11

Global Continue F8

Global Use filter Stepping Shift+f5

Global Add/Remove breakpoints Ctrl+shift+b

Global Display Ctrl+d

Global run last started Ctrl+f11

Global Run to row ctrl+r

Global Execution Ctrl+u

The above commonly used Eclipse shortcuts (recommended) is a small series to share all the content, hope to give you a reference, but also hope that we support the cloud-dwelling community.

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.