@@ -27,29 +27,89 @@ Install Eclipse as a regular user, not as root or via package managers like `apt
27
27
28
28
Preferences, settings are under Window > Preferences
29
29
30
+ ### Line wrapping
31
+
32
+ < http://stackoverflow.com/questions/2846002/does-eclipse-have-line-wrap >
33
+
34
+ Hard is possible, soft is notoriously not.
35
+
36
+ ### Project preferences
37
+
38
+ On the package explorer, click on the project and hit ` Alt + Enter ` or go File > Properties.
39
+
40
+ From there you can do things like:
41
+
42
+ - set how the project is run (` F12 ` ), e.g. passing command line arguments to the program or to the VM.
43
+
30
44
## Keyboard shortcuts
31
45
32
46
General > Keys
33
47
48
+ Navigate in editor and its tabs:
49
+
50
+ - `F3`: open definition in a new tab
51
+
52
+ - `Alt left`: go to the last location. May jump between lines and change tabs.
53
+
54
+ - `Ctrl + Shift + T`: find class definition (Type). Does a sort of Fuzzy search for capital letters.
55
+
56
+ - `Ctrl + Shift + R`: find files.
57
+
58
+ - `Ctrl + H`: search for Java things. Allows you to select classes, methods, fields, etc.
59
+
60
+ - `Alt + Shift + Q + XXX`: focus on many different things depending on `XXX`
61
+
62
+ - ` P ` : Package Explorer
63
+
64
+ - `Alt + Shift + X + XXX`: run things
65
+
66
+ - ` J ` : Java. Runs the ` main ` of the file.
67
+
68
+ - `Ctrl + T`: show a popup with type hierarchy of current class file. You can then click on the classes to jump to them.
69
+
70
+ - `Ctrl + Shift + Down/Up`: move to the next / previous class member
71
+
72
+ Navigate across editor and other widgets:
73
+
74
+ - `Ctrl + M`: Toggle maximize current window.
75
+
76
+ - `F12`: focus editor
77
+
78
+ Edit:
79
+
80
+ - `Ctrl + /`: toggle single line comment
81
+
82
+ - `Ctrl + Alt + J`: toggle single line comment
83
+
84
+ Misc:
85
+
86
+ - `F12`: run program. How it gets run is defined under the project properties.
87
+
88
+ ## Non-keyboard stuff
89
+
90
+ - Jump to overridden method: a little triangle appears to the left of the method.
91
+
92
+ <http://stackoverflow.com/questions/3771934/eclipse-navigate-to-inheritor-base-declaration>
93
+
34
94
## Plugins
35
95
36
96
### Install
37
97
38
98
Install and search plugins through the Eclipse Marketplace.
39
99
40
- From the IDE: Help > Eclipse Marketplace
100
+ From the IDE: Help > Eclipse Marketplace ... note the very intuitive placement under Help.
41
101
42
102
The website: < http://marketplace.eclipse.org/ >
43
103
44
104
### Good plugins
45
105
46
106
Add Vim like editing to eclipse: < http://vrapper.sourceforge.net/update-site/stable > .
47
107
48
- C and C++: # http://download.eclipse.org/tools/cdt/releases/indigo/
108
+ C and C++: < http://download.eclipse.org/tools/cdt/releases/indigo/ >
49
109
50
110
Python: < http://pydev.org/updates >
51
111
52
- HTML, Javascript , PHP: < http://download.eclipse.org/webtools/repository/indigo/ >
112
+ HTML, JavaScript , PHP: < http://download.eclipse.org/webtools/repository/indigo/ >
53
113
54
114
#### LaTeX
55
115
@@ -72,14 +132,34 @@ Parses git configure files as key value pairs and shows them on Eclipse. Doesn't
72
132
73
133
< http://vrapper.sourceforge.net/home >
74
134
135
+ ### StartExplorer
136
+
137
+ < https://github.com/basti1302/startexplorer >
138
+
139
+ Open file explorer or shell on given folder from Package Explorer.
140
+
141
+ Custom commands: go to Preferences > StartExplorer > Custom Commands.
142
+
143
+ You can use variables as described at: < http://basti1302.github.io/startexplorer/help/05_custom_commands.html >
144
+
145
+ E.g., start Guake here:
146
+
147
+ guake -n "${resource_loc}"
148
+
149
+ No bindings for custom commands yet: < https://github.com/basti1302/startexplorer/issues/5 >
150
+
75
151
### Color themes
76
152
153
+ #### Editor color theme
154
+
77
155
Best place to find color themes: < http://eclipse-color-theme.github.com/update > . It already comes with many color themes.
78
156
79
- The best way is to install the Color Theme plug-in and install new plugins with General > Appearance > Color Theme
157
+ The best way is to install the Eclipse Color Theme plug-in and install new plugins with General > Appearance > Color Theme
158
+
159
+ Otherwise to install ` .epf ` themes: File > Import > Preferences > Select * .epf
80
160
81
- Otherwise to install epf themes: File > Import > Preferences > Select * .epf
161
+ Vibrant Ink is a good choice as usual.
82
162
83
- Good dark theme: < http://www.eclipsecolorthemes.org/?view= theme&id=7915 >
163
+ #### GUI color theme
84
164
85
- For the GUI, Appearance > Classic worked best for Ubuntu Unity.
165
+ For the rest of the GUI besides the editor , Appearance > Classic worked best for Ubuntu Unity.
0 commit comments