Hello all. Great program, great potential.
I' m really a newbie at this. How can I write lua scripts with autocomplete enabled ? Do I have to add some definition files ? How do I do that ?
Thanks
LUA configuration
The Zeus intellisense (ie autocomplete) feature uses the information produced by the ctags utility as its input.
By default Zeus will automatically generate ctags information for any file contained in the currently active project/workspace.
So for example if your Lua files is part of the current project/workspace, it's intellisenese information will be displayed in the class browser and Zeus will use this information to drive the intellisense feature.
But Zeus also provides the option to create standalone tag database files that can also be used to drive the intellisensing. For details on how to do this refer to the following link: http://www.zeusedit.com/forum/viewtopic.php?t=185
Cheers Jussi
By default Zeus will automatically generate ctags information for any file contained in the currently active project/workspace.
So for example if your Lua files is part of the current project/workspace, it's intellisenese information will be displayed in the class browser and Zeus will use this information to drive the intellisense feature.
But Zeus also provides the option to create standalone tag database files that can also be used to drive the intellisensing. For details on how to do this refer to the following link: http://www.zeusedit.com/forum/viewtopic.php?t=185
Cheers Jussi
OK, I really must be missing something here. I have girder 4 which uses lua scripting but it doesn't have an autocomplete feature. So I want to build a standalone database for Zeus. I've included a bunch of *.h files that I found in the Girder directory to build the database. What's the next step ? I create a new file (all of them have .txt extensions) and use the database that I just cretead. But no classes appear, no functions, no autocomplete. What's wrong ?
The class browser panel only displays the information for the items found in the current project workspace. The external databases are never displayed in the class browser panel.
To test what tags information is being produced you should create a dummy project workspace and add these h files to that workspace. Then you can see what tag information if any is being produced.
You can also use this dummy workspace to test if the autocomplete is actually finding any useful information in this workspace tags database.
The external tag database items just need to be attached to a document type. When you edit any Lua document, Zeus will use the configuration details found in the Lua Document type during this editing process. Part of these configuration details includes a list of external database to be used for autocomplete.
So to use the external database you need to use the Options Document Types menu, edit you Lua document type, change to the Tags Database panel and then attach the external database to the document type.
Cheers Jussi
To test what tags information is being produced you should create a dummy project workspace and add these h files to that workspace. Then you can see what tag information if any is being produced.
You can also use this dummy workspace to test if the autocomplete is actually finding any useful information in this workspace tags database.
The external tag database items just need to be attached to a document type. When you edit any Lua document, Zeus will use the configuration details found in the Lua Document type during this editing process. Part of these configuration details includes a list of external database to be used for autocomplete.
So to use the external database you need to use the Options Document Types menu, edit you Lua document type, change to the Tags Database panel and then attach the external database to the document type.
Cheers Jussi