Tags and C files using non standard C file extensions.

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
wireless
Posts: 1
Joined: Wed Nov 19, 2008 8:42 pm

Tags and C files using non standard C file extensions.

Post by wireless »

What is the easiest way to process the tags in a 'C' file that has a unique (non C -standard) file extension?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
Post Reply