I have a large number of files that are 99% JavaScript, but are processed by 
.Net code before they're served, so have a couple of lines of C# at the top. 
I've given them all filenames of the form *.js.aspx but when I try to use that 
in filetype_extensions.conf it has no effect and they're still considered to be 
XML files (per an earlier line in that file). The filetype_extensions.conf file 
contains this:
```
[Extensions]
XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;*.aspx;
Javascript=*.js;*.js.aspx;
```

It appears to me that Geany only recognises simple file extensions (i.e. just 
the bit after the last dot in the filename) rather than allowing for anything 
more complex. It would be great if this could be extended to support multi-part 
file extensions that include more than one dot.


Output from `geany -V` running on Ubuntu Mate 18.04.

`geany 1.32 (built on 2018-01-08 with GTK 3.22.26, GLib 2.54.1)`


-- 
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

Reply via email to