Page 1 of 1

How do I get Zeus to show functions for custom language?

Posted: Sat Apr 01, 2006 3:17 am
by Guest
I'm a newbie, and I need Zeus to recognize a custom language. I've created a new language by pressing New in the Document Types window, and then set up the keywords, file extensions, and tested various regular expressions (even very simple ones) in the Function Regex: field. I then created a new workspace, added some files to it, and loaded some sample files whose extension matches the type for language.

I can't get Zeus to refresh the Navigator to show functions that match the regular expression I put for Function Regex: for the new document type I specified. :(

Is there some trick to get function definitions to display? Right clicking and selecting 'Refresh Navigator' does not seem to work.

This is most frustrating. I hope this isn't an indication of how difficult it is to work with Zeus in general. :?

Posted: Sat Apr 01, 2006 1:11 pm
by jussij
The functions regexp is used by the View, Function List menu, where as the functions navigator panel displays the functions tags information produced by the ctags utility. Zeus automatically creates tags information for all the files in the currently open workspace.

So if you have create and opened a workspace, added a file to the workspace, have that file as the active document and no functions information is displayed in the navigator panel, this means no function tags information is available :(

This is most probably caused by the fact the ctags utility does not support the programming language of the file in question.

Here is a list of languages ctags claims to support: http://ctags.sourceforge.net/languages.html

Cheers Jussi