Some eclipse shortcuts (ultra-practical)

Source: Internet
Author: User

CTRL + 1 quick fix (the most classic shortcut, you don't need to talk about it) Chinese Java Technology Network G'-b6u h8q
XN]
CTRL + D: Delete the current line of Chinese Java Technology Network V * ph8v | H
CTRL + ALT + ↓ copy the current row to the next line (copy added) Chinese Java Technology Network 4 | i9d4iak3ix {7igz
CTRL + ALT + ↓ copy the current row to the previous line (added for copy)
V (ip2g
Alt + ↓ interaction position between the current row and the following row (especially practical, you can save cutting and pasting)
FV} H/
T * byc0alt + cursor the interaction location between the current row and the previous row (same as above) Chinese Java Technology Network s; GoS/K) B
Alt + ← previous edited page Chinese Java Technology Network/d ,'? 5go. p7q # woi # u2k
Alt + → next Edit page (of course for the above) Chinese Java Technology Network (n8s % d & TS-X/v3u) vu
Alt + enter display the properties of the currently selected resource (project, or file)
Y. kr8f7o (Z + lq0shift + enter inserts a blank row in the next row of the current row (the mouse can be at any position of the current row, not necessarily the last) h
Shift + Ctrl + enter insert blank lines in the current line (same principle) Chinese Java Technology Network NHM V8 ~
K
P (G % v
K
CTRL + q locate the Last edited part of the Chinese Java Technology Network (x9b; k? : Gu {
CTRL + l locate in a line (for those with more than 100 programs, there will be good news)
MC tr cy0ctrl + M maximize the current edit or view (then press the opposite button)
8w4vvx [! U # j0ctrl +/annotate the current row, and then press it to cancel the comment
Z
BTM) Z ~ TN, z0ctrl + O quick outline display
) A _ v7npz + n0ctrl + T to quickly display the inheritance structure of the current class! Tp0d3 t/vt + W
CTRL + W disable the current editer Chinese Java Technology Network r4ge. d "/% K) d1o
CTRL + k refer to the selected word to quickly find the next Chinese Java Technology Network $]; c.p V/Jr '?
CTRL + E: Click it to quickly display the drop-down list of the current editer (if the current page is not displayed in ). Chinese Java Technology Network; LK] S * [% B! Q, lf
CTRL +/(keypad) collapse all code in the current class
SR: R & oc2v '6m0ctrl + × (keypad) show all the code in the current class.
Ha
CTRL + Space Code assistant inserts some code (but it is usually in conflict with the input method. You can modify the key of the input method or replace it with ALT +/for the moment)
M0 ~ 2 M. ah3o 'u4? Q0ctrl + Shift + e display and manage the managers of all views currently opened (you can choose to close or activate them). Java Technology Network 6 | gsw1t �fa ^
CTRL + J forward incremental search (after pressing CTRL + J, each letter editor you enter provides a quick match to locate a word. If not, it is not found in stutes line. It is particularly useful when querying a word. This feature was available two years ago by idea ~ Z +/"n
CTRL + Shift + J reverse incremental search (the same as the previous one, but only from the back to the front) Chinese Java Technology Network * UU {-{5B # T! Vo
CTRL + Shift + F4 close all open editer Chinese Java Technology Network 5e-zo7m +} M: DKV
CTRL + Shift + x change all selected text to lowercase Chinese Java technical network adu'qv
CTRL + Shift + y change all selected text to lowercase
X # t0zqt0ctrl + Shift + F format the current Code
/* Ymq3q0j, u0ctrl + Shift + P locate the matched character (for example, {}) (when locating the cursor from the front, the cursor should be inside the matching character, followed by the front, otherwise)

The following shortcut keys are commonly used in refactoring. I like them and want to sort them out frequently (Note: Generally, the refactoring Shortcut Keys start with ALT + shift) c0 | "y-kC0nw" L :@
Alt + Shift + R Rename (one of my favorite ones, especially the rename of variables and classes, which saves a lot of labor compared with manual methods)
0 | pw7 {0] nn0alt + Shift + M extraction method (this is one of the most common methods in refactoring, especially useful for a lot of mud code)
Iusnr * R9} 2s1c *}? 0alt + Shift + C modify the function structure (more practical. N functions call this method and modify it once)
) _ I ^
Lt
D/zjk (ib0alt + Shift + L extract local variables (you can directly extract some magic numbers and strings into one variable, especially when multiple calls are performed)
3k6r ~ + S ^ 9d: {0alt + Shift + F change the local variable in the class to the field variable (more practical)
~ W @ $ yi6i gys0alt + Shift + I merge variables (it may be inappropriate to say that inline)
~ Q' _/W (bx2l ;? & A9q0alt + Shift + V mobile functions and variables (not commonly used)
"T4r
T5w) X & X? 0 Alt + Shift + z restructured regret medicine (UNDO)

Edit
A ~ H? 1 t) y0 scope function shortcut
Q (C * k
Cipt3d0 global search and replace Ctrl + F
'Rv _ u? N0 text editor finds the previous Ctrl + Shift + k
# Nqcq2w0 text editor find the Next Ctrl + k Chinese Java Technology Network + a4r8 ^ �p) h'x9 {
L
Globally undo Ctrl + z
4c7x (P7 ~ E4 [2jt bn0 global copy Ctrl + C Chinese Java Technology Network hq7gc (@
Select Alt + Shift + continue for global recovery.
F-P) O/buR-x0 global cut Ctrl + X Chinese Java Technology Network 2C
Z: j5xuvi
Global Fast Correction of ctrl1 + 1 Chinese Java Technology Network Z, n
^ + J
H, dtko9a
Global content assist Alt +/
. A: [NU] 7p0 globally select Ctrl +
X) T & Y) v4bee0 global delete Chinese Java technology network I #}) aq0d: l
Global context information Alt +?
?; Na # I
R. um0alt + Shift +?
M & A & ay # s0ctrl + Shift + space Chinese Java Technology Network
Tsgesj & R | Q
Java editor display tooltip description F2
XR
AA + J #? * C9y0java editor selects the encapsulated element Alt + Shift + ↓
DH) I] I # Z & l0java editor select the previous element Alt + Shift + ← Chinese Java Technology Network 4zf -_
T5k $ ~
Select the next element in the Java editor Alt + Shift + → Chinese Java technical network ~ UU _~, E: x
Text Editor incremental search Ctrl + J Chinese Java Technology Network ^. '2x? LB
O9o) |
Text Editor incremental reverse lookup Ctrl + Shift + J
Rgy7jmuukrd0 global paste Ctrl + V
$ Uhbk (rmq {e * t9r0 global redo Ctrl + Y

Chinese Java Technology Network % HVA: ZW @ XK "n
View
6D $ ^ 5f7 | '? -A0 scope function shortcut: Chinese Java Technology Network s5st (E $ ^ % B
Zoom in globally Ctrl + =
% T5xd "O
_ 0 global zoom Ctrl +-

Java Technology Network 0 gvpj, PE
Window Chinese Java technology network d
R, hosg
Scope function shortcut: Chinese Java Technology Network $ | _ HD, Y & x9zd
Global activation editor F12 Chinese Java Technology Network P. fm. vh8z9s3g
Global switch editor Ctrl + Shift + W
Eqj # Es] P0 global editor Ctrl + Shift + F6 Chinese Java Technology Network 9B * j; RSK:/'P % [: E
Global View Ctrl + Shift + F7 Chinese Java Technology Network !? 7xt0hi |; y
Global Perspective Ctrl + Shift + F8
; B1pl8m
C & P ++? 3 ~ 0 global editor Ctrl + F6 Chinese Java Technology Network * P ^ (aqg3xaev. Q �/ 'C ^
Next Global View Ctrl + F7
T/8 @ E; z0' 0 Global next perspective Ctrl + F8 Chinese Java technology network N; E {Q7 ^ J) h
Text Editor displays the ruler context menu Ctrl + W Chinese Java Technology Network 5B "r /?; Dd
X Z
Global View menu Ctrl + F10
F1} & Bl-a7v "r0t 'hd1h0 global Display System Menu Alt +-

Chinese Java technical network {M?] & UC
Z % v
Navigation Chinese Java technical network/M $ PRS. j
Shortcut for scope Function
WP (ub0mly0java editor open the structure Ctrl + F3 Chinese Java Technology Network W @
C * k-D + R % S. pa +
Global Open type ctrl + Shift + T Chinese Java Technology Network W, C $ |) M % He
Global Open Type hierarchies F4 Chinese Java Technology Network E $ DQ # v |: NX ^
Global open declaration F3 Chinese Java Technology Network btpu
@
Global open external javadoc SHIFT + F2 Chinese Java technology network o $ L) y7x: v6mpy # Z $ y
Globally open the resource Ctrl + Shift + R Chinese Java Technology Network, ei-VZ [-z2a
Global rollback history records Alt + ↓ Chinese Java Technology Network Cu/IIy-f * Khem! L
Global forward history Alt + → Chinese Java Technology Network $ pH-o/q4u) N
O
CTRL +,
Qzf
JX/^ 0 global Next Ctrl +.
M] F; IX;} d4i: Display outline in the b0java editor Ctrl + O
5C % | j; C;} 0 global Open Type in hierarchy Ctrl + Shift + H
Y] m], V0 is globally transferred to the matching parentheses Ctrl + Shift + P
& I; O4 {I-] 0 go global to the previous editing location Ctrl + q Chinese Java technology network [Cl + | MZ
The Java editor is transferred to the previous Member Ctrl + Shift + ← Chinese Java technical network #~ Xo1 ~! J7j6wto
Go to the next member in the Java editor Ctrl + Shift + ← Chinese Java Technology Network IMS's $ E
Text Editor to Ctrl + L

 
O (VB $ ~ C] 3j "S0 search
8ny % e z "oh3d0 scope function shortcut key
E8u'q? @ P0 globally appears in the file Ctrl + Shift + u
Izf * tucac; m! {K0 global Open Search dialog box Ctrl + H Chinese Java Technology Network gjq/l7i
Declare Ctrl + G in global Workspace
Reference Ctrl + Shift + G in the global Workspace

Chinese Java technical network |] 9w4zx4q E
~ E
Text editing (Chinese) Java Technology Network (MNS): A: m
Shortcut for scope Function
U1r & cissp0 text editor rewrite switch insert
R/W $ L. CS [/1a4e] 5x * l0 text editor roll row Ctrl + ←
X @'s # c6t $ Ar + C0 text editor Ctrl + ←

 
; N "qy7qc0 File
Eiz. Ax ;? G {'f0 function shortcut
? "?
{O-A0 global save Ctrl + X Chinese Java Technology Network HT}
@"'
CTRL + S
9 'yn + L _ 'fo0 global print Ctrl + P Chinese Java Technology Network 0nac: NT! ^ MMV * B
Globally Disable Ctrl + F4
: L * c} s8rc0 save Ctrl + Shift + s Chinese Java technology network I, h
B1 'W
Globally close Ctrl + Shift + F4 Chinese Java Technology Network; H "TT ~ Bqbz
Global attribute Alt + enter Chinese Java Technology Network 9 |, L/6ty/DZ %]
Globally create Ctrl + n

 
# D-Y * w8p + @ l0 Project
F + g (zi5k1x :?
FK & S0 scope function shortcut: Chinese Java Technology Network a9qq6t3 ^ 6bl1b
Global build Ctrl + B

 
B. L * k
X @ ''G0 source code
5tum! Shortcut for uvy0 Scope
F6u4br5e '0java editor format Ctrl + Shift + f (used to beautify your code. Frequently Used)
6g5yc8q! V/k0java editor uncomment Ctrl +/
HC ~
I (ty0java editor comment Ctrl +/Chinese Java Technology Network h4_6u6o (y1u # I
Add and import Ctrl + Shift + M to the Java editor.
Java editor organization import Ctrl + Shift + O
P3xs
The i9j-/z} 0java editor uses try/catch blocks to enclose unset ones, which is too common. Therefore, we recommend that you set them here.
[
You can also use Ctrl + 1 to automatically correct fn9c @} 0.

 
US $ q4dj "^ + | 0 running Chinese Java Technology Network) Do @ n: r4f ;{
Scope function shortcut
Global One-Step return F7 Chinese Java Technology Network @. Wh % N
Om @
Skip F6 in one global step
7y
Ogvsp, nh0 Global One-Step Jump to F5 Chinese Java Technology Network. ablp3ze]
In the global one-step jump-in, select Ctrl + F5 Chinese Java L & 'm7sq5p7 _, AM
Global debugging the last time F11 was started
Continue global F8 Chinese Java Technology Network %] a' qbf
Shift + F5 Chinese Java technology network by using a filter globally, N "} w | D
E
K
Global Add/remove breakpoint Ctrl + Shift + B Chinese Java Technology Network-R
Ky {ZV % K; BD
Global display Ctrl + d
D | {0i [MF, K0 global run last started Ctrl + F11

VG ~ R "e
^ PBB; rn0 runs globally to the row Ctrl + R
Le ��g % JJ [) S0 global execute Ctrl + u

Chinese Java technical Network *'
P2s8w "X (e3p $ |
Restructured the Chinese Java Technology Network Z l7vz:
Shortcut for scope Function
6xl "Ni # _ iqh0 global revocation reconstruction Alt + Shift + z Chinese Java Technology Network} J
C7g. G # ucq
Global extraction method Alt + Shift + m
. Ykb _-LD * {+ I0 global extraction local variable Alt + Shift + L Chinese Java Technology Network + wq3/d �� pj6g
Global inline Alt + Shift + I
N/'ty0o [0 global moving Alt + Shift + V Chinese Java technical network 'qo: q9jd * s (L
Globally rename Alt + Shift + R
| P. IQ + Gz {0 global redo Alt + Shift + Y

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.