Hello,
Next thing I would like to do is to add some syntax coloring.
I have copied these:
/usr/share/geany/filetype_extensions.conf to ~/.config/geany/filetype_extensions.conf /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:
SSDL=*.ssdl;
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?
Thanks,
Laszlo
On 19 July 2012 19:04, Laszlo Nagy gandalf@shopzeus.com wrote:
Hello,
Next thing I would like to do is to add some syntax coloring.
I have copied these:
/usr/share/geany/filetype_extensions.conf to ~/.config/geany/filetype_extensions.conf /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:
SSDL=*.ssdl;
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 http://www.geany.org/manual/current/index.html#custom-filetypes
Cheers Lex
Thanks,
Laszlo
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Unless you are going to code it into Geany you need to make it a custom filetype, see http://www.geany.org/manual/current/index.html#custom-filetypes
Works like a charm. :-)
It would be cool to add a custom lexer, but I guess this would not be possible without C programming.
Is there a way to auto-build files? E.g. automatically run the build command after I save a file.
On 19 July 2012 20:28, Laszlo Nagy gandalf@shopzeus.com wrote:
Unless you are going to code it into Geany you need to make it a custom filetype, see http://www.geany.org/manual/current/index.html#custom-filetypes
Works like a charm. :-)
It would be cool to add a custom lexer, but I guess this would not be possible without C programming.
C *and* C++ programming actually.
Is there a way to auto-build files? E.g. automatically run the build command after I save a file.
No, but the build command will save the file before it runs.
Cheers Lex
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany