You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eclipse.md
+31-1
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,24 @@ Navigate in editor and its tabs:
88
88
89
89
-`Ctrl + E`: show a filter dropdown with the tabs
90
90
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
+
91
109
Navigate across editor and other widgets:
92
110
93
111
-`Ctrl + M`: Toggle maximize current window.
@@ -100,13 +118,17 @@ Edit:
100
118
101
119
-`Ctrl + Alt + J`: toggle single line comment
102
120
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
+
103
125
Misc:
104
126
105
127
-`F12`: run program. How it gets run is defined under the project properties.
106
128
107
129
## Non-keyboard stuff
108
130
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.
@@ -151,6 +173,10 @@ Parses git configure files as key value pairs and shows them on Eclipse. Doesn't
151
173
152
174
<http://vrapper.sourceforge.net/home>
153
175
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
+
154
180
### StartExplorer
155
181
156
182
<https://github.com/basti1302/startexplorer>
@@ -174,6 +200,10 @@ Jump between a class and it's test file:
174
200
175
201
TODO how to use this? Clicking `Ctrl + J` tries to create a new test class instead of jumping to the existing one!
0 commit comments