Quantcast
Download
(100 Kb)
Download
Updated: 08/31/17 02:53 AM
Pictures
File Info
Compatibility:
Horns of the Reach (3.1)
Updated:08/31/17 02:53 AM
Created:08/31/17 02:53 AM
Monthly downloads:15
Total downloads:274
Favorites:1
MD5:
Zerobrane Studio ESO API Autocomplete
Version: 3.0
by: Solvaring [More]
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.



Optional Files (0)


Post A Reply Comment Options
Unread 10/11/17, 01:18 AM  
Patros
 
Patros's Avatar

Forum posts: 10
File comments: 25
Uploads: 0
Nice!

APIs and API docs for games are usually a nightmare compared to what is possible. I can feel your pain. And I like that you're doing something about it. I wouldn't even know where to begin.
Report comment to moderator  
Reply With Quote
Unread 10/09/17, 02:18 PM  
Solvaring
 
Solvaring's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 3
Uploads: 2
Wink Re: Thx

Originally Posted by Patros
Thx a lot, great plugin.

I have barely touched the ESO-API and don't know any functions yet, so this saves me a lot of time and trouble. I would have had to look up the stuff in the Wiki and search for it in the source code.

But now I can easily explore functions.
I'm glad I could make something useful! I'm focused right now on creating plugins for ZBS to specifically help ESO addon developers and make coding easier and faster. I've updated a few addons but mainly focused when I started learning on getting autocomplete, I refused to continue working without it and so I created it

I'll update the plugin for Clockwork City API v. 100021 in the next few weeks.

Also keep in mind this is not every function and method, global, constant etc. It's generated based on the wiki doc that's published by ZOS (A hefty 16000 lines) with every API update. I'm manually adding stuff like EVENT_MANAGER methods by hand little by little as I continue learning how to make addons.

I also created an XML tag inserter plugin and am currently working on a plugin to visualize XML documents in a tree format to make working with XML GUI stuff easier so stay tuned!
__________________
All my latest work and the most cutting edge updates to my addons and tools can always be procured from my github profile

https://github.com/solvaring

It will generally take me a while to get around to uploading to ESOUI, but changes to my work are committed and pushed almost daily.

Report comment to moderator  
Reply With Quote
Unread 10/06/17, 05:10 PM  
Patros
 
Patros's Avatar

Forum posts: 10
File comments: 25
Uploads: 0
Thumbs up Thx

Thx a lot, great plugin.

I have barely touched the ESO-API and don't know any functions yet, so this saves me a lot of time and trouble. I would have had to look up the stuff in the Wiki and search for it in the source code.

But now I can easily explore functions.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.