[Geany] filetypes

Enrico Tröger enrico.troeger at xxxxx
Mon Apr 14 18:06:59 UTC 2008


On Mon, 14 Apr 2008 18:57:00 +0200, Dominic Hopf
<dmaphy at googlemail.com> wrote:

> 
> Am Montag, den 14.04.2008, 09:48 -0700 schrieb Dennis Sacks:
> > Hey, Geany is pretty nice. I'm finding myself using it more and more
> > often when I edit source code.
> > 
> > I'm wondering however if there is a way to tell Geany that .mtt
> > files should be recognized as just HTML?
> > 
> > .mtt is a haxe template. I don't care about any haxe specific stuff
> > in .mtt files, I'd just love to have Geany parse and color them as
> > HTML.
> > 
> > So, I guess I'm asking, is there a way to configure .mtt to be
> > recognized as HTML or do I have to hack Geany source code?
> There should be a file called filetype_extensions.conf in your
> ~/.geany/. Editing this file should solve your problem i think. ;) 

Almost, the file filetype_extensions.conf doesn't exist in ~/.geany by
default. You must copy it from the global installation directory of
Geany (probably /usr/share/geany/ or something similar).

For more details see
http://geany.uvena.de/manual/0.13/index.html#filetype-extensions.
If you have further questions, just ask.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080414/6aed8190/attachment.pgp>


More information about the Users mailing list