Skip to content

Commit a151d09

Browse files
committed
Eclipse call tree
1 parent 539e4e7 commit a151d09

File tree

2 files changed

+38
-4
lines changed

2 files changed

+38
-4
lines changed

eclipse.md

+31-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,24 @@ Navigate in editor and its tabs:
8888

8989
- `Ctrl + E`: show a filter dropdown with the tabs
9090

91+
- `F4`: show hierarchy of class under cursor
92+
93+
- `Ctrl + Alt + H`: show call graph of method under cursor.
94+
95+
Looks something like:
96+
97+
- `callsMethod1`
98+
- `callsMethod2`
99+
100+
Then, as you click on each method of the tree, you open up it's own call graph:
101+
102+
- `callsMethod1`
103+
- `callsMethod_callsMethod1_1`
104+
- `callsMethod_callsMethod1_2`
105+
- `callsMethod2`
106+
107+
and so on. This allows you to see exactly what changes to a method will impact.
108+
91109
Navigate across editor and other widgets:
92110

93111
- `Ctrl + M`: Toggle maximize current window.
@@ -100,13 +118,17 @@ Edit:
100118

101119
- `Ctrl + Alt + J`: toggle single line comment
102120

121+
- `Ctrl + .` and `Ctrl + ,`: next and previous error or warning. <http://stackoverflow.com/questions/1832183/eclipse-how-to-go-to-a-error-using-only-the-keyboard-keyboard-shortcut>
122+
123+
- `Ctrl + Shift + F`: auto format code using the current formatter.
124+
103125
Misc:
104126

105127
- `F12`: run program. How it gets run is defined under the project properties.
106128

107129
## Non-keyboard stuff
108130

109-
- Jump to overridden method: a little triangle appears to the left of the method.
131+
- Jump to overridden method: a little triangle appears to the left of the method.
110132

111133
<http://stackoverflow.com/questions/3771934/eclipse-navigate-to-inheritor-base-declaration>
112134

@@ -151,6 +173,10 @@ Parses git configure files as key value pairs and shows them on Eclipse. Doesn't
151173

152174
<http://vrapper.sourceforge.net/home>
153175

176+
Some shortcuts that already exist in Eclipse were kept and the Vim version is not implemented. E.g. `Ctrl + R` is not implemented, so you have to use `Ctrl + Shift + Z` instead.
177+
178+
Block visual is `Ctrl + Shift + V` instead of `Ctrl + V` as in Vim to avoid conflict with paste. Eclipse also has a built-in block visual mode: <http://stackoverflow.com/questions/1053725/how-do-i-enable-the-column-selection-mode-in-eclipse>
179+
154180
### StartExplorer
155181

156182
<https://github.com/basti1302/startexplorer>
@@ -174,6 +200,10 @@ Jump between a class and it's test file:
174200

175201
TODO how to use this? Clicking `Ctrl + J` tries to create a new test class instead of jumping to the existing one!
176202

203+
### JaCoCo
204+
205+
Test coverage viewer plugin.
206+
177207
### Color themes
178208

179209
#### Editor color theme

unicode.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ Therefore:
5050

5151
Amazing description: "Reversed hand with middle finger extended."
5252

53-
- <http://en.wikipedia.org/wiki/Non-breaking_space#Width_variations>
53+
### Whitespace
5454

55-
Unicode NBSP variants.
55+
Unicode NBSP variants:
56+
<http://en.wikipedia.org/wiki/Non-breaking_space#Width_variations>
5657

57-
Unicode also has other exotic spaces: <http://en.wikipedia.org/wiki/Whitespace_character>
58+
Other exotic spaces: <http://en.wikipedia.org/wiki/Whitespace_character>
59+
60+
Ideographic space:
61+
<http://www.fileformat.info/info/unicode/char/3000/index.htm>
5862

5963
## Replacement character
6064

0 commit comments

Comments
 (0)