Eclipse useful shortcuts Flashcards

(42 cards)

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

19
Q

Show the inheritance tree of the current Java class

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).

22
Q

Maximize Java editor

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.

26
Move one element to the left or right
Ctrl + Left / Right
27
Copy line
Ctrl + Alt + Up/Down
28
Move line up / down
Alt + Up / Down
29
Select the previous / next syntactical element
Alt + Shift Up / Down
30
Extending / Reducing the selection of the previous / next syntactical element
Alt + Shift Up / Down / Left / Right
31
Scroll up / down a line in the editor
Ctrl + Up / Down
32
Deletes line
Ctrl + D
33
Delete until end of line
Ctrl + Shift + DEL
34
Delete next element
Ctrl + DEL
35
Delete previous element
Ctrl + BACKSPACE
36
Assign statement to new local variable
Ctrl + 2, L
37
Assign statement to new field
Ctrl + 2, F
38
Show the Javadoc for the selected type / class / method
Shift + F2
39
Type shortcut for the command, e.g. njc to create a new Java class or npip to create a new Plugin project
Alt+Shift + N + Letter
40
Surround block with try and catch
Alt + Shift + Z
41
Rename
Alt + Shift + R
42
Rename locally (in file), faster then Alt + Shift + R
Ctrl+2, R
43
Opens the quick refactoring menu
Alt + Shift + T