[Github-comments] [geany/geany] Filetypes are only recognised with simple extensions (#1921)

Mark notifications at xxxxx
Wed Aug 8 15:34:11 UTC 2018


I'm happy with first match wins - but that doesn't seem to be the case. I've swapped the lines so that the Javascript line is first but it doesn't appear to have made any difference.

I've reloaded the config, restarted Geany, and even checked that there's no "*.aspx" entry in /usr/share/geany/filetype_extensions.conf. Are there any other locations that I need to check that might be overriding my local setting?

(I can't just drop *.aspx from XML because although I have lots of *.js.aspx files, I have even more *.aspx files that *are* XML).

For clarity, my filetype_extensions.conf file now looks like this:
```
[Extensions]
Javascript=*.js;*.js.aspx;
XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;*.aspx;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1921#issuecomment-411449582
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180808/5952d0d7/attachment-0001.html>


More information about the Github-comments mailing list