Common Eclipse shortcuts and eclipse shortcuts _ PHP Tutorial

Source: Internet
Author: User
Common Eclipse shortcuts and eclipse shortcuts. Commonly used Eclipse shortcuts, eclipse shortcuts Ctrl + 1 quick fix Ctrl + D: delete the current row Ctrl + Alt + copy the current row to the next row (copy added) ctrl + Alt + copy the current line to the previous line.

Ctrl + 1 quick fix

Ctrl + D: delete the current row

Ctrl + Alt + ↓ copy the current row to the next row (copy added)

Ctrl + Alt + ↓ copy the current row to the previous row (copy added)

Alt + ↓ interaction position between the current row and the following row (especially practical, you can save cutting and pasting)

Alt + ↑ interaction between the current row and the previous row (same as above)

Alt + ↓ previous edited page

Alt + → next edited page

Alt + Enter display the properties of the currently selected resource (Project, or file)

Shift + Enter insert empty rows in the next row of the current row

Shift + Ctrl + Enter insert blank lines in the current row

Ctrl + Q locate the last Edited location

Ctrl + L locate in a row

Ctrl + M maximize the current Edit or View (then press it, and vice versa)

Ctrl +/comment out the current row, and then press it to cancel the comment

Ctrl + O quick OutLine display

Ctrl + T quickly display the inheritance structure of the current class

Ctrl + W disable the current Editer

Alt +/code assistant to insert some code

Ctrl + Shift + E display the managers that manage all opened Views (you can choose to close or activate them)

Ctrl + Shift + F4 close all open Editer

Ctrl + Shift + X convert all selected text to uppercase

Ctrl + Shift + Y change all selected text to lowercase

Ctrl + Shift + F format the current code

Ctrl + Shift + P locate the matched character (for example, {}) (when positioning from the front, the cursor must be inside the matched character, followed by the front, and vice versa)

-- Alt + Shift

Alt + Shift + R Rename (Rename of variables and classes)

Alt + Shift + M extraction method (this is one of the most common methods in refactoring, especially useful for a lot of mud code)

Alt + Shift + C modify the function structure (more practical. N functions call this method and modify it once)

Alt + Shift + L extract local variables (you can directly extract some magic numbers and strings into one variable, especially when multiple calls are performed)

Alt + Shift + F convert the local variable in the Class to the field variable (more practical)

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 restructured regret medicine (Undo)

Alt + Shift + J method add annotation

-- Navigation
Shortcut for scope function
Global Open type Ctrl + Shift + T

Globally open resource Ctrl + Shift + R

Java Editor display outline Ctrl + O

Globally open the type Ctrl + Shift + H in the hierarchy

Globally move to matching parentheses Ctrl + Shift + P

Go global to the previous editing location Ctrl + Q

Go to the previous member Ctrl + Shift + ← in the Java Editor.

Go to the next member in the Java Editor Ctrl + Shift + ←

Text editor to Ctrl + L

Http://hovertree.com/texiao/

-- Run
Shortcut for scope function
F7 is returned in one global step.
Skip F6 in one global step
Global One-Step Jump to F5
Global One-Step Jump-in and select Ctrl + F5
Global debugging last started F11
Continue F8 globally
Shift + F5 in one step using filters globally
Globally add/remove breakpoints Ctrl + Shift + B
Global Display Ctrl + D
Global run last started Ctrl + F11
Run Ctrl + R globally
Execute Ctrl + U globally

Http://www.cnblogs.com/roucheng/p/3520056.html

Ctrl + 1 quick fix Ctrl + D: delete the current row Ctrl + Alt + copy the current row to the next row (copy to add) Ctrl + Alt + copy the current row to the previous row...

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.