Geany Dev Team:
I may have missed something when looking through the documentation, but there is something I do not understand. Why do some filenames under ./data/ use the format "filetypes.LANG" while others use the format "filetypes.LANG.conf" (such as "filetypes.Cython.conf")? In the future, when I add new filetypes, how can I know which filename format to use? That is, if I add support for Squirrel (C-like language), would I name it "filetypes.squirrel" or "filetypes.Squirrel.conf"?
On 4 November 2015 at 02:03, Devyn Collier Johnson devyncjohnson@gmail.com wrote:
Geany Dev Team:
I may have missed something when looking through the documentation, but there is something I do not understand. Why do some filenames under ./data/ use the format "filetypes.LANG" while others use the format "filetypes.LANG.conf" (such as "filetypes.Cython.conf")? In the future, when I add new filetypes, how can I know which filename format to use? That is, if I add support for Squirrel (C-like language), would I name it "filetypes.squirrel" or "filetypes.Squirrel.conf"?
The filetypes built-in to Geany use the first format, the filetypes defined as custom filetypes (http://www.geany.org/manual/current/index.html#custom-filetypes) use the second format. So since your rodent language uses existing lexers and parsers you would make a custom filetype.
Cheers Lex
-- Thanks, Devyn Collier Johnson DevynCJohnson@Gmail.com
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel