Revision: 1581 http://svn.sourceforge.net/geany/?rev=1581&view=rev Author: ntrel Date: 2007-05-26 08:35:22 -0700 (Sat, 26 May 2007)
Log Message: ----------- Add note about Adding a TagManager parser.
Modified Paths: -------------- trunk/HACKING
Modified: trunk/HACKING =================================================================== --- trunk/HACKING 2007-05-26 15:26:05 UTC (rev 1580) +++ trunk/HACKING 2007-05-26 15:35:22 UTC (rev 1581) @@ -52,3 +52,27 @@ http://ctags.sf.net).
+NOTES +===== + +Adding a TagManager parser +-------------------------- +This assumes the Geany filetype already exists. + +First write or find a CTags compatible parser, foo.c. Note that there are +some unapplied language patches for CTags at: +http://sf.net/projects/ctags - see the tracker. + +Add foo.c to Makefile.am. +Add foo.o to makefile.win32. +Add Foo to parsers.h & fill in comment with parser number for foo. + +In foo.c: +Edit FooKinds 3rd column to match a s_tag_type_names string in tm_tag.c. + +In filetypes.c, filetypes_init_types(): +set filetypes[GEANY_FILETYPES_FOO].lang = foo's parser number. + +In symbols.c: +Update init_tag_list() for foo, listing the tm_tag_* types corresponding +to the s_tag_type_names strings used in foo.c for FooKinds.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.