eclipse50 using commonly used shortcuts

eclipse shortcuts use:

1 performs (run) alt + r

2 Tip complement (Class Name Completion) alt + /

3 Single-line comments ctrl + /

4 Multi-line comments ctrl + shift + /

5 Copy down line (Duplicate Lines) ctrl + alt + down

6 delete a row or selected rows (delete line) ctrl + d

7 the downward movement of the line (move statement down) alt + down

8 lines upward movement (move statement up) alt + up

9 downwardly start a new line (start new line) shift + enter

10 starts up a new line (Start New Line before current) ctrl + shift + enter

11 How to view source code (class) ctrl + select specific structure or ctrl + shift + t

Solutions Universal 12 dislocations / generates a return value of the variable alt + enter

13 return to the previous page editor (back) alt + left

14 proceed to the next edit page (for on the strip) (forward) alt + right

15 View inheritance (type hierarchy) F4

 

16 formatting code (reformat code) ctrl + shift + F

17 presentation method parameter types (Parameter Info) ctrl + alt + /

Copy the code 18 ctrl + c

Ctrl + z 19 revocation

20 Anti revocation ctrl + y

Cut ctrl + x 21

Ctrl + v paste 22

23 stores ctrl + s

24 Select ctrl + a

25 Select the number of lines, the overall future mobile tab

26 Select the number of lines, the overall shift + tab to move forward

27 See structure class: eclipse of similar outline ctrl + o

28 Reconstruction: modifying the variable name and the method name (rename) alt + shift + r

29 rpm uppercase to lowercase / uppercase to lowercase revolution (toggle case) ctrl + shift + y / Ctrl + shift + x 

30 to generate the constructor / get / set / toString alt + shift + s

 

31 View documentation (quick documentation) F2

32 Collapse All methods (collapse all) alt + shift + c

33 is opened in all methods (expand all) alt + shift + x

34 Open the code where the hard disk folders (show in explorer) project right-click --Properties - Resource - Location

35   生成try-catch等(surround with)                     alt+shift+z

36 is a local variable extraction member variable (introduce field) alt + shift + f

37 Find / Replace (current) ctrl + f

38 Find a (global) ctrl + h

39 Find File double Shift

FIG inheritance structure (Show UML Diagram) 40 See class ctrl + shift + u

Check method of rewriting the multilayer structure 41 (method hierarchy) ctrl + alt + h

42 Add to Favorites (add to favorites) ctrl + alt + f

43 Extraction method (Extract Method) alt + shift + m

44 Open the file (Recently Files) recently modified ctrl + E

Close code field 45 is currently open (close) ctrl + w

 

Close all code field 46 open (close all) ctrl + shift + w

Quick search 47 error class (next highlighted error) ctrl + shift + q

48 selects content to be pasted (Show in Explorer) ctrl + shprivate static int num; ift + v

49 Where to find methods is called (Call Hierarchy) ctrl + shift + h

50 eclipse completion return type ALT + Shift + L

发布了17 篇原创文章 · 获赞 42 · 访问量 9573

Guess you like

Origin blog.csdn.net/jiangjiaoyong/article/details/100572030