[Geany] Adding a new file type?
elextr at xxxxx
Thu Jul 19 09:41:10 UTC 2012
On 19 July 2012 19:04, Laszlo Nagy <gandalf at shopzeus.com> wrote:
> Next thing I would like to do is to add some syntax coloring.
> I have copied these:
> /usr/share/geany/filetype_extensions.conf to
> /usr/share/geany/filetypes.c to ~/.config/geany/filedefs/filetypes.ssdl
> Then under [extensions] section of ~/.config/geany/filetype_extensions.conf
> I have added this line:
> Then I have restarted Geany, but the new file type is not recognized, and it
> is not listed in the menu. (If I select the "C" source code file type
> manually then the file will have different colors.)
> What else do I need to do to recognize the new format?
Unless you are going to code it into Geany you need to make it a
custom filetype, see
> Geany mailing list
> Geany at uvena.de
More information about the Users