EclipsePreferencesforTeams » History » Version 52
Andreas Müller, 06/16/2015 04:10 PM
1 | 36 | Andreas Kohlbecker | {{>toc}} |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | |||
6 | ---- |
||
7 | |||
8 | |||
9 | 1 | Andreas Kohlbecker | |
10 | 10 | Patrick Plitzner | # Eclipse plugins and preferences |
11 | 1 | Andreas Kohlbecker | |
12 | |||
13 | 9 | Patrick Plitzner | _Plugins, code templates, coding conventions, preferences etc. for EDIT CDM Development in php, java, javascript._ |
14 | 1 | Andreas Kohlbecker | |
15 | |||
16 | 24 | Andreas Kohlbecker | *TIP*: _For quickly setting up eclipse you may want to import the @prefs-available-software-sites.xml@, see the "Plugins" for more on this._ |
17 | 1 | Andreas Kohlbecker | |
18 | 23 | Andreas Kohlbecker | |
19 | |||
20 | 9 | Patrick Plitzner | ---- |
21 | 1 | Andreas Kohlbecker | |
22 | |||
23 | |||
24 | 35 | Andreas Kohlbecker | ## Quick Setup |
25 | 23 | Andreas Kohlbecker | |
26 | 1 | Andreas Kohlbecker | |
27 | 35 | Andreas Kohlbecker | |
28 | ### Setting up eclipse |
||
29 | |||
30 | |||
31 | 34 | Andreas Kohlbecker | 1. import the @prefs-available-software-sites.xml@, see the "Plugins" for more on this. |
32 | 33 | Andreas Kohlbecker | |
33 | 1. enable the following plugins: |
||
34 | |||
35 | * Remote Workspace Preferences |
||
36 | |||
37 | * TODO ... |
||
38 | 1 | Andreas Kohlbecker | |
39 | 35 | Andreas Kohlbecker | |
40 | |||
41 | ### Setting up a new Workspace |
||
42 | |||
43 | |||
44 | 50 | Andreas Müller | 1. import the [[EclipsePreferencesforTeams#RemoteWorkspacePreferences|Remote Workspace Preferences]] from http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/prefs_remote_workspace_preferences.epf (see [Remote Workspace Preferences section](https://dev.e-taxonomy.eu/trac/wiki/EclipsePreferencesforTeams#RemoteWorkspacePreferences) below) |
45 | 35 | Andreas Kohlbecker | |
46 | 52 | Andreas Müller | 1. import the Java code template from http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/CDM-Java-Code-Template.xml or http://dev.e-taxonomy.eu/trac/browser/trunk/devtools/eclipse/4.x/prefs/CDM-Java-Code-Template.xml (see [Code Template section](http://dev.e-taxonomy.eu/trac/wiki/EclipsePreferencesforTeams#CodeTemplate) below) |
47 | 46 | Patrick Plitzner | |
48 | 33 | Andreas Kohlbecker | |
49 | |||
50 | 9 | Patrick Plitzner | ## Plugins |
51 | 23 | Andreas Kohlbecker | |
52 | |||
53 | The available software sites to be added to eclipse can be downloaded from here: http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/prefs-available-software-sites.xml |
||
54 | |||
55 | Apply these setting by going to "Available Software Sites" in the eclipse preferences, click on import and browse to the location to where you downloaded @prefs-available-software-sites.xml@. |
||
56 | 9 | Patrick Plitzner | |
57 | |||
58 | 19 | Andreas Kohlbecker | |
59 | ### Subclipse |
||
60 | |||
61 | Subclipse is an Eclipse team provider for the Subversion version |
||
62 | |||
63 | control system. |
||
64 | |||
65 | * project site: http://subclipse.tigris.org/ |
||
66 | |||
67 | * update site: http://download.eclipse.org/releases/juno |
||
68 | |||
69 | * set up: |
||
70 | |||
71 | |||
72 | |||
73 | ### EGit |
||
74 | |||
75 | Eclipse Git is an Eclipse Team provider based on JGit, a pure Java implementation of the Git version control system. |
||
76 | |||
77 | * project site: http://eclipse.org/egit |
||
78 | |||
79 | * update site: http://download.eclipse.org/releases/juno |
||
80 | |||
81 | * set up: |
||
82 | |||
83 | |||
84 | 22 | Andreas Kohlbecker | |
85 | 19 | Andreas Kohlbecker | ### RunJettyRun |
86 | 21 | Andreas Kohlbecker | |
87 | * project site: http://code.google.com/p/run-jetty-run/ |
||
88 | |||
89 | * update site: |
||
90 | |||
91 | * set up: Install via Eclipse Marktplace |
||
92 | |||
93 | |||
94 | 1 | Andreas Kohlbecker | |
95 | 33 | Andreas Kohlbecker | ### Remote Workspace Preferences |
96 | 9 | Patrick Plitzner | |
97 | 37 | Andreas Kohlbecker | |
98 | 38 | Andreas Kohlbecker | For now we decided to use this plugin for distributing preferences within the team, but we may switch to another solution in future, see #3335 (Share workspace setting within the team) for more information. |
99 | 37 | Andreas Kohlbecker | |
100 | |||
101 | 40 | Andreas Kohlbecker | * project site: https://marketplace.eclipse.org/content/remote-workspace-preferences-plug |
102 | 1 | Andreas Kohlbecker | |
103 | 42 | Patrick Plitzner | * update site: http://netceteragroup.github.io/eclipse-team-etceteras/updatesite (or install via eclipse marketplace) |
104 | 1 | Andreas Kohlbecker | |
105 | 16 | Patrick Plitzner | * set up: |
106 | |||
107 | 43 | Patrick Plitzner | 1. Install the _Remote Workspace Preferences_ plugin and restart eclipse. |
108 | 9 | Patrick Plitzner | |
109 | 1. Go to _File->Import->General->Remote Preferences->From URL_, paste this URL: http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/prefs_remote_workspace_preferences.epf and hit "Finish". |
||
110 | |||
111 | 44 | Patrick Plitzner | 1. Restart eclipse and hit "Yes" to import the remote preferences. (If the dialog does not appear see the re-applying step below) |
112 | 9 | Patrick Plitzner | |
113 | |||
114 | 29 | Andreas Kohlbecker | * To re-import/re-apply the preferences go to _File->Import->General->Remote Preferences->From configured URL_ which will now show all the applicable preferences files. |
115 | 1 | Andreas Kohlbecker | |
116 | * Once the `prefs_remote_workspace_preferences.epf` file has changed you will need to paste the above URL again into the "From URL" text field. |
||
117 | 47 | Andreas Müller | |
118 | |||
119 | |||
120 | ### Code Template |
||
121 | |||
122 | |||
123 | 51 | Andreas Müller | 1. Download the code template file from http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/CDM-Java-Code-Template.xml or http://dev.e-taxonomy.eu/trac/browser/trunk/devtools/eclipse/4.x/prefs/CDM-Java-Code-Template.xml |
124 | 47 | Andreas Müller | |
125 | 1. In eclipse open Window-Preferences and here open Java - Code Style - Code Template. |
||
126 | |||
127 | 1. Use the import functionality and import the above file |
||
128 | 9 | Patrick Plitzner | |
129 | |||
130 | |||
131 | ### Web Development |
||
132 | |||
133 | 1 | Andreas Kohlbecker | |
134 | |||
135 | 16 | Patrick Plitzner | #### AnyEditTools |
136 | 1 | Andreas Kohlbecker | |
137 | 16 | Patrick Plitzner | * project site: http://andrei.gmxhome.de/anyedit/ |
138 | |||
139 | * update site: http://andrei.gmxhome.de/eclipse/ |
||
140 | |||
141 | * set up: |
||
142 | |||
143 | |||
144 | |||
145 | #### JavaScript Development Tools |
||
146 | |||
147 | * project site: http://www.eclipse.org/webtools/jsdt/ |
||
148 | |||
149 | * update site: http://download.eclipse.org/releases/juno |
||
150 | |||
151 | * set up: |
||
152 | |||
153 | |||
154 | |||
155 | #### PHP codesniffer |
||
156 | |||
157 | 27 | Andreas Kohlbecker | |
158 | [_CodeSniffer is broken in indigo!!!!_](http://sourceforge.net/tracker/index.php?func=detail&aid=3395739&group)id=263892&atid=1127654* |
||
159 | |||
160 | 15 | Andreas Kohlbecker | * project site: http://xfragger.de/209/php-codesniffer-fur-eclipse |
161 | 1 | Andreas Kohlbecker | |
162 | 18 | Andreas Kohlbecker | * update site: http://www.phpsrc.org/eclipse/pti/ |
163 | 15 | Andreas Kohlbecker | |
164 | 26 | Andreas Kohlbecker | * recommendet plugins: |
165 | |||
166 | * core |
||
167 | 25 | Andreas Kohlbecker | |
168 | * library.pear |
||
169 | |||
170 | * tools.phpmd |
||
171 | |||
172 | * tools.phpunit |
||
173 | |||
174 | * tools.codesniffer |
||
175 | |||
176 | 15 | Andreas Kohlbecker | * set up: |
177 | |||
178 | * disable all codesniffer rules in Window > Preferences |
||
179 | |||
180 | * download [Codesniffer rules for Drupal CDM](http://dev.e-taxonomy.eu/svn/branches/drupal/dataportal-to-drupal7/helper-scripts/Codesniffer/Drupal_CDM) |
||
181 | |||
182 | * in project settings enable the Drupal_CDM Codesniffer rules |
||
183 | |||
184 | * for drupal projects exclude the following files and folders: |
||
185 | |||
186 | ~~~ |
||
187 | */drupal*/modules/*,*/drupal*/includes/*,*/drupal*/misc/*,*/drupal*/themes/*,*/drupal*/profiles/*,*.png,*.gif,*.jpg |
||
188 | 1 | Andreas Kohlbecker | ~~~ |
189 | 15 | Andreas Kohlbecker | |
190 | 1 | Andreas Kohlbecker | |
191 | 16 | Patrick Plitzner | #### PHP Development Tools |
192 | 1 | Andreas Kohlbecker | |
193 | 16 | Patrick Plitzner | * project site: http://www.eclipse.org/projects/project.php?id=tools.pdt |
194 | |||
195 | * update site: http://download.eclipse.org/releases/juno |
||
196 | |||
197 | * set up: |
||
198 | |||
199 | |||
200 | |||
201 | #### PHP Mess Detector |
||
202 | |||
203 | * project site: http://phpmd.org/ |
||
204 | |||
205 | * update site: |
||
206 | |||
207 | * set up: |
||
208 | |||
209 | |||
210 | |||
211 | #### Web Page Editor |
||
212 | |||
213 | * project site: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jst.jsf.doc.user%2Fhtml%2Fgettingstarted%2Fwpe%2Fwpe_getting_started.html |
||
214 | |||
215 | * update site: http://download.eclipse.org/releases/juno |
||
216 | |||
217 | 15 | Andreas Kohlbecker | * set up: |
218 | |||
219 | |||
220 | |||
221 | #### jshint |
||
222 | |||
223 | * project site: http://github.eclipsesource.com/jshint-eclipse/about.html |
||
224 | 9 | Patrick Plitzner | |
225 | * update site: http://github.eclipsesource.com/jshint-eclipse/updates/ |
||
226 | |||
227 | * set up: |
||
228 | 39 | Andreas Kohlbecker | |
229 | |||
230 | |||
231 | ### Documentation & UML |
||
232 | |||
233 | |||
234 | |||
235 | #### Architexa |
||
236 | |||
237 | |||
238 | Just Another Eclipse Plugin which helps in understanding and documenting code. Architexa can turn a large Java codebase into a comprehensible and navigable diagram of functionality and dependency. |
||
239 | |||
240 | |||
241 | Requires registration! |
||
242 | |||
243 | |||
244 | * project site: http://www.architexa.com/ |
||
245 | |||
246 | * update site: |
||
247 | |||
248 | * set up: |