Related to: Zeus for Windows, Version 3.97g
The Coloring options offer many items to be colored, but I could not find an option to color (or otherwise mark) function/procedure names. Is there a way to do it? Thank you.
displaying function/procedure names in different color/bold
-
- Posts: 4
- Joined: Thu Oct 27, 2011 11:56 pm
This might be possible using the Tags Syntax Highlighting option found in the Keywords section of the Document Type.
The Tags Syntax Highlighting can be used to highlight any of the items that are found in the Classes section of the Navigator panel.
With this option enabled, you can then configure the display of these items using the Colors panel and setting up the Tags - * color category items.
Cheers Jussi
The Tags Syntax Highlighting can be used to highlight any of the items that are found in the Classes section of the Navigator panel.
With this option enabled, you can then configure the display of these items using the Colors panel and setting up the Tags - * color category items.
Cheers Jussi
-
- Posts: 4
- Joined: Thu Oct 27, 2011 11:56 pm
displaying function/procedure names in different color/bold
Thanks for your prompt response.
Your suggestion works well, except for cases where code is calling functions external to the specified 'workspace/project' code base - as, for example, OS calls.
Do I need to include all referenced system header files into my 'workspace/project' folder to solve this? Will that be enough for Zeus to create and find all tags?
Thank you.
Your suggestion works well, except for cases where code is calling functions external to the specified 'workspace/project' code base - as, for example, OS calls.
Do I need to include all referenced system header files into my 'workspace/project' folder to solve this? Will that be enough for Zeus to create and find all tags?
Thank you.
Do I need to include all referenced system header files into my 'workspace/project' folder to solve this? Will that be enough for Zeus to create and find all tags?
That will work.
Another more generic solution would be to create a new workspace just for these external references.
This will then create a tag database just for those references.
You can then attach that database to any document type by using the Tag Database panel found in the docment type setup.
And this change to the document type should also feed through to the syntax highlighting.
-
- Posts: 4
- Joined: Thu Oct 27, 2011 11:56 pm
Does such tag database have to built on my machine or could it be imported as a stand-alone external tag database?
No it does not have to be built on your machine.
In fact you can use the Tags, Database Builder tool (which is just the xBuilder.exe file) to create a stand alone tag database.
The resulting tags databse just needs to be found in the zTags folder found in the Zeus intall directory.
But if the source code is not on you machine then naturally the Tags, Goto Definition, Goto Declaration menu items will not work as they wont be able to load the source file.
Cheers Jussi
-
- Posts: 4
- Joined: Thu Oct 27, 2011 11:56 pm