EclipsePreferencesforTeams » History » Revision 52
« Previous |
Revision 52/78
(diff)
| Next »
Andreas Müller, 06/16/2015 04:10 PM
- Table of contents
- Eclipse plugins and preferences
Eclipse plugins and preferences¶
Plugins, code templates, coding conventions, preferences etc. for EDIT CDM Development in php, java, javascript.
TIP: For quickly setting up eclipse you may want to import the @prefs-available-software-sites.xml@, see the "Plugins" for more on this.
Quick Setup¶
Setting up eclipse¶
import the @prefs-available-software-sites.xml@, see the "Plugins" for more on this.
enable the following plugins:
Remote Workspace Preferences
TODO ...
Setting up a new Workspace¶
import the 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 below)
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 below)
Plugins¶
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
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@.
Subclipse¶
Subclipse is an Eclipse team provider for the Subversion version
control system.
project site: http://subclipse.tigris.org/
update site: http://download.eclipse.org/releases/juno
set up:
EGit¶
Eclipse Git is an Eclipse Team provider based on JGit, a pure Java implementation of the Git version control system.
project site: http://eclipse.org/egit
update site: http://download.eclipse.org/releases/juno
set up:
RunJettyRun¶
project site: http://code.google.com/p/run-jetty-run/
update site:
set up: Install via Eclipse Marktplace
Remote Workspace Preferences¶
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.
project site: https://marketplace.eclipse.org/content/remote-workspace-preferences-plug
update site: http://netceteragroup.github.io/eclipse-team-etceteras/updatesite (or install via eclipse marketplace)
set up:
Install the Remote Workspace Preferences plugin and restart eclipse.
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".
Restart eclipse and hit "Yes" to import the remote preferences. (If the dialog does not appear see the re-applying step below)
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.
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.
Code Template¶
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
In eclipse open Window-Preferences and here open Java - Code Style - Code Template.
Use the import functionality and import the above file
Web Development¶
AnyEditTools¶
project site: http://andrei.gmxhome.de/anyedit/
update site: http://andrei.gmxhome.de/eclipse/
set up:
JavaScript Development Tools¶
project site: http://www.eclipse.org/webtools/jsdt/
update site: http://download.eclipse.org/releases/juno
set up:
PHP codesniffer¶
CodeSniffer is broken in indigo!!!!id=263892&atid=1127654*
project site: http://xfragger.de/209/php-codesniffer-fur-eclipse
update site: http://www.phpsrc.org/eclipse/pti/
recommendet plugins:
- core
- library.pear
- tools.phpmd
- tools.phpunit
- tools.codesniffer
set up:
- disable all codesniffer rules in Window > Preferences
- download Codesniffer rules for Drupal CDM
- in project settings enable the Drupal_CDM Codesniffer rules
- for drupal projects exclude the following files and folders:
*/drupal*/modules/*,*/drupal*/includes/*,*/drupal*/misc/*,*/drupal*/themes/*,*/drupal*/profiles/*,*.png,*.gif,*.jpg
PHP Development Tools¶
project site: http://www.eclipse.org/projects/project.php?id=tools.pdt
update site: http://download.eclipse.org/releases/juno
set up:
PHP Mess Detector¶
project site: http://phpmd.org/
update site:
set up:
Web Page Editor¶
update site: http://download.eclipse.org/releases/juno
set up:
jshint¶
project site: http://github.eclipsesource.com/jshint-eclipse/about.html
update site: http://github.eclipsesource.com/jshint-eclipse/updates/
set up:
Documentation & UML¶
Architexa¶
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.
Requires registration!
project site: http://www.architexa.com/
update site:
set up:
Updated by Andreas Müller almost 9 years ago · 52 revisions