eclipse-egit / egit

EGit, the git integration of Eclipse IDE
https://www.eclipse.org/egit/
Eclipse Public License 2.0
13 stars 6 forks source link

Add .gitattributes to "Content Types" #23

Open bohni opened 4 months ago

bohni commented 4 months ago

Description

As with .gitignore, the file .gitattibutes should be treated as text and opened with Eclipse Text editor.

see https://github.com/eclipse-egit/egit/blob/856a0dc37ad7abb0cd285a80612f418869cf3f35/org.eclipse.egit.ui/plugin.xml#L7991-L7996

Motivation

Double click on the file in "Project Explorer" file tree will open the OS' "select application to open" dialog or the associated system editor instead of Eclipse Text Editor

Alternatives considered

No response

Additional context

No response