Does anyone have experiences (or hopefully solutions) like this ?
It sounds like the xtags.exe (ie ctags.exe) needs to be changed to treat the mdl file as a c file.So it looks like the tag generator is not seeing the file as a "C" file as far as functions are concerned.
If you download the source code for ctags from here: http://ctags.sourceforge.net
in the c.c file you will find this function:
Code: Select all
extern parserDefinition* CParser (void)
If you don't have access to a c/c++ compiler let me know and I will make this change for you and upload a new xtags.exe to the Zeus web site.
Thanks for the response. Sound like a little job for me in the New Year.
In the meantime, I've managed to use the public ctags, with the -force-language=C switch to recognize the .mc files as C files, and I've generated a tags file that contains the function references that I am expecting.
Is there anyway of getting Zeus to recogize and use this tag file ? I've tried doing a "type tags > workspace.zbd" and then re-opening the workspace. When I attempt a code completion I receive a dialog telling me that the tags file is in a wrong format.....and that I should re-generate it using xbuilder, which is what I am trying to circumvent.
Any possible workarounds ?
Here is a new xTags.dll that allows the ctags.exe command line to be configuredAny possible workarounds ?
To install this new version backup the current xTags.dll and replace it with the one in the zip file.
To configure the command line start then close Zeus and in the Zeus install directory you will find an xTags.ini file where you can define the new command line.
I've tried it with both the provided xtags.exe and ctags.exe 5.6 from sourceforge. Should I be using one or the other ?
Unfortunately it looks like the xTags.dll that was posted is not compatible with your version of Zeus executable
The reason for this is the current Zeus source code tree contains a lot of code to generally speed up the Zeus.exe and I suspect some of these code changes make the xTags.dll will on compatible with Zeus.exe built from the current code tree
You will need to revert back to the older xTags.dll backup copy for now, until I have time to restore the old code base and create a backwardly compatible xTags.dll.
If you don?t have a backup you can get the previous xTags.dll from the zeus 395z patch found here:
Sorry for the stuff up on my part