New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update filetype_extensions.conf (SVG, Diff patches, and more) #737
Conversation
- Added "*.dash" to "Sh=" Dash is another shell scripting language like Ash. The lexer and parser used by Geany for shell scripts works with *.dash. - Added "*.svg" to "XML=" SVG (Scalable Vector Graphics) is supported by all major web-browsers https://en.wikipedia.org/wiki/Scalable_Vector_Graphics http://www.w3.org/Graphics/SVG/ - Added "*.x3d" to "XML=" X3D has many file-extensions, but "*.x3d" is the most common X3D: ISO standard XML-based file format for representing 3D computer graphics https://en.wikipedia.org/wiki/X3D http://www.web3d.org/x3d/what-x3d - Added "*.debdiff;*.dpatch;*.kpatch;" to "Diff=" kpatch: live Linux kernel patches dpatch: directory patch ( http://man.he.net/man7/dpatch ) debdiff: diff file for comparing two *.deb files ( http://manpages.ubuntu.com/manpages/vivid/en/man1/debdiff.1.html )
This has not been merged yet. Is there a problem with this, is someone very busy, or is their something I could do to make this better? |
In the past we used to reject adding arbitrary filetype extensions to not spam the default configuration too much. E.g. there were already some requests to add .dpatch and friends, but these are quite specific to Debian. Same goes for other specific extensions. E.g. Debian and ArchLinux patch their specific extensions into their respective distribution packages of Geany which is OK. Since adding new extensions to the config is documented and very easy for the user, I'd say there is no need to add those extensions to the default configuration. |
And there is a release due this weekend so you can assume everybody is busy. Finally, you need to be patient, everybody in the Geany camp is a volunteer, you have to let them have time to comment on something. |
Okay, thanks. I will be sure to add arbitrary and "odd" file-type extensions to the wiki. I apologize for any inconvenience. |
I somehow like SVG myself because I find it rather common, the others I really don't know… e.g. I didn't ever see a Anyway, in the end I kinda feel like @eht16, we can't realistically add everything that may exist out there in the world, and it'd become a mess if we did anyway. So I guess we prefer only adding "common" (now, what is common? :)) extensions by default. |
@b4n , you do make a good point. |
Let's add the SVG one and drop the rest? I see that SVG is widely used and just XML. |
Why do we need to add the SVG extension? The XML magic already detects SVG as XML without it. |
[ci skip]
Dash is another shell scripting language like Ash.
The lexer and parser used by Geany for shell scripts works with *.dash.
SVG (Scalable Vector Graphics) is supported by all major web-browsers
https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
http://www.w3.org/Graphics/SVG/
X3D has many file-extensions, but ".x3d" is the most common
X3D: ISO standard XML-based file format for representing 3D computer graphics
https://en.wikipedia.org/wiki/X3D
http://www.web3d.org/x3d/what-x3d
kpatch: live Linux kernel patches
dpatch: directory patch ( http://man.he.net/man7/dpatch )
debdiff: diff file for comparing two *.deb files ( http://manpages.ubuntu.com/manpages/vivid/en/man1/debdiff.1.html )