Skip to content

Nodeclipse/org.nodeclipse.gitaddon

Repository files navigation

Build Status

About

Associate *.git* files with TextEditor

Builded against Indigo and tested in Kepler.

  <editor
        class="org.eclipse.ui.editors.text.TextEditor"
        contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
        default="true"
        extensions="gitignore,gitmodules,gitattributes"
        icon="icons/git.ico"
        id="org.eclipse.ui.DefaultTextEditor"
        name="Text Editor">
  </editor>

Why

I got tired of Eclipse opening .gitignore in external Editor and Eclipse crashes when changing files associations.
Bug 412518 - Changing file associations causes Eclipse Kepler to crash (was .gitignore value causes Eclipse crash)

Warning

.gitattributes file will not be used by EGit, see open Bug 342372 - support gitattributes

Get

  1. In Eclipse import.. Git
  2. as New general project
  3. right-click import Existing Maven projects

Install from sources

  1. mvn package
  2. npm install http-server -g
  3. http-server gitaddon.site\target\repository -p 8010
  4. start http://localhost:8010/
  5. // navigate http://localhost:8010/ in browser to check
  6. Help->Install New Software, enter http://localhost:8010/ in Work With

Run offline if to re-build mvn -o package

Ideas

check issues

Created

Created with Open-Archetypes

http://code.google.com/p/open-archetypes/

mvn archetype:generate -DarchetypeCatalog=http://open-archetypes.github.io/maven-repo/snapshots/

or with Eclipse

read https://github.com/open-archetypes/tycho-eclipse-plugin-archetype

Please be careful if you use Nexus

For kepler update MANIFEST.MF as below in .test project (see #3) Require-Bundle: org.eclipse.jdt.junit4.runtime;bundle-version="1.1.0", org.junit;bundle-version="4.11.0"

MIT License was chosen at http://choosealicense.com/

http://www.xiconeditor.com/ Online Icon Editor

Thanks to Bananeweizen for help.

Other

Not used here, but you also may be interested in A Maven Archetype for Hadoop Jobs

Other links