A new major update is released today with an important improvement, LUA Code Autocomplete:
version 0.7.0
- Added autocomplete capabilities to LUA editor.
To use this new feature just start typing in the LUA code editor or press the key combination ctrl+space, then a list of options to choose from will be displayed, similar to many other development environments. This list will contain a combination of global objects, controls of the current window or properties and methods of the current object.
Keep in mind that this is a first version of this feature, which still has many limitations and still has a lot of room for improvement. The Autocomplete will continue to be improved in future updates.
There are hundreds of properties and methods available in the Fantasy Grounds LUA API, so your feedback is very important to refine the autocomplete results. Feel free to send your comments about it.
Could you add a delay to the popup (or maybe only after two keystrokes and their being a match) so that if you are typing something quickly and that something is not in the list you don’t get a popup followed by a close. Maybe add two preference options one for minimum keys to popup and one for opening delay in milliseconds.
My two “copper” cents worth so far.
yes, for the next update I will try to reduce the popup spamming.
I’ve had some more time to use the autocomplete and I must say that I really appreciate the feature. I really like the autocomplete. For a newbie like myself it is nice to have a list to choose from and saves a lot of time in a browser.
As part of limiting the popup spamming maybe if you could eliminate popups if you are in a comment. So if you want the popup in a comment then you hit the ctrl-space.
Thanks again for all the work. I love this tool.