This plugin for Zerobrane Studio gives autocomplete for all constants and functions and methods listed in the latest ESOUIDocumentation.txt for api version 100020. It also suggests xml element names and attribute names.
I also made some more improvements, it took a while for me to figure out how to get autocompletion for xml keywords and attributes and when I did find a solution it would also display suggestions for XML tags when working in a Lua file which hampered the speed of the plugin. This was also useless since I wasn't currently working in an XML file.
With this latest version you will get sane autocomplete suggestions when working in a file with a .lua extension. When working in a file with a .xml extension the autocomplete will stop suggesting Lua functions and suggest element and attribute names from the "UI XML Layout" section of esouidocumentation.txt
The xml spec piece of the plugin has some code taken from @Farangkao's ZBS plugin however I can not get it to exhibit the behavior he described his spec having. Namely that XML element names and attributes would be marked as case sensitive and would alert the programmer to spelling and capitalization errors. I'm still working on trying to get that to work as it should.
There is also a hefty set of instructions I wrote in the README.md on my github project page. If I'm away from the game the scripts I wrote that use Lua pattern matching facilities can be run against the latest ESOUIDocumentation.txt to create updated tables that can be copied over old tables in the plugin. As long as ZOS doesn't change the layout of ESOUIDocumentation.txt
I hope this plugin proves useful to all developers to make writing addons a smoother and easier process. It will also allow our brains to remain as fine swiss cheese since you won't have to memorize nearly as much of the API. I'm slowly going in by hand and adding other functions and methods that aren't listed in the dump file from ZOS such as EVENT_MANAGER and its methods and ZO_SavedVars and its methods etc.
The github page for this project is available here:
https://github.com/Solvaring/ESO_ZBS_APIcreator
Happy coding everyone
Just unzip and drop it into the 'packages' directory in the root of your zerobrane studio installation
PS. If you haven't tried Zerobrane Studio Lua IDE you totally should, it's amazing.