Page 1 of 1

Tags and C files using non standard C file extensions.

Posted: Wed Nov 19, 2008 8:50 pm
by wireless
What is the easiest way to process the tags in a 'C' file that has a unique (non C -standard) file extension?

Posted: Wed Nov 19, 2008 10:55 pm
by jussij
What is the easiest way to process the tags in a 'C' file that has a unique (non C -standard) file extension?
You can use the −−langmap=map[,map[...]] command line option.

You can get at the command line by editing the xtags.ini file found in the Zeus install directory.

For details on −−langmap option see the ctags manual found here: http://ctags.sourceforge.net/ctags.html

Another option would be to download the ctags source code from here: http://sourceforge.net/projects/ctags

You could then add the file extensions to file extensions found in the C parser found in c.c file. If you do create a new executable remember to rename the ctags.exe to xtags.exe ;)

Cheers Jussi