Eclipse useful shortcuts Flashcards

2
Q

Search for resources, e.g. files

A

Ctrl + Shift + R

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Search for Types

A

Ctrl + Shift + T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Allows to select an editor from the currently open editors

A

Ctrl + E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Shortcut for switching perspectives

A

Ctrl + F8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Go to previous/ next editor position in history

A

Alt + ← or Alt + →

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Switch to previous/next editor

A

Ctrl-PageUp/PageDown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Go to the declaration of this variable

A

F3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Go to the matching bracket

A

Ctrl + Shift + P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Go to the next problem / error

A

Ctrl + .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Go to the previous problem / error

A

Ctrl + ,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Show type hierarchy of a variable

A

F4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Incremental search, find next

A

Ctrl + J , Ctrl + K

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Search for references in the workspace

A

Ctrl + Shift + G

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Run last launched

A

Ctrl + F11

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Run current selected class as Java Application

A

Alt + Shift + X - J

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Quickfix; result depending on cursor position

A

Ctrl + 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Content assist/ code completion

A

Ctrl + Space

19
Q

Show the inheritance tree of the current Java class

A

Ctrl + T

20
Q

Show all methods of the current class

A

Ctrl + O , press Ctrl + O again to show the inherited methods.

21
Q

Focuses on the editor (especially helpful if you work with Fast Views).

A

F12

22
Q

Maximize Java editor

A

Ctrl + M

23
Q

Format source code

A

Ctrl + Shift + F

24
Q

Organize the imports; will import the missing import statements.

A

Ctrl + Shift + O

25
Q

Go to position the cursor at the last changed position in the editor.

A

Ctrl + Q

26
Q

Move one element to the left or right

A

Ctrl + Left / Right

27
Q

Copy line

A

Ctrl + Alt + Up/Down

28
Q

Move line up / down

A

Alt + Up / Down

29
Q

Select the previous / next syntactical element

A

Alt + Shift Up / Down

30
Q

Extending / Reducing the selection of the previous / next syntactical element

A

Alt + Shift Up / Down / Left / Right

31
Q

Scroll up / down a line in the editor

A

Ctrl + Up / Down

32
Q

Deletes line

A

Ctrl + D

33
Q

Delete until end of line

A

Ctrl + Shift + DEL

34
Q

Delete next element

A

Ctrl + DEL

35
Q

Delete previous element

A

Ctrl + BACKSPACE

36
Q

Assign statement to new local variable

A

Ctrl + 2, L

37
Q

Assign statement to new field

A

Ctrl + 2, F

38
Q

Show the Javadoc for the selected type / class / method

A

Shift + F2

39
Q

Type shortcut for the command, e.g. njc to create a new Java class or npip to create a new Plugin project

A

Alt+Shift + N + Letter

40
Q

Surround block with try and catch

A

Alt + Shift + Z

41
Q

Rename

A

Alt + Shift + R

42
Q

Rename locally (in file), faster then Alt + Shift + R

A

Ctrl+2, R

43
Q

Opens the quick refactoring menu

A

Alt + Shift + T