Source at GitHub https://github.com/Nodeclipse/org.nodeclipse.gitaddon
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>
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)
check issues
Help created with GFM Viewer by Satyagraha