cong ling wrote:
Nice to meet you here. Zerobrane is very good designed and helpful. I’ve used it since I tried Gideros.
We can keep 20-30 fps under decoder, but only 6-7 fps under Zerobrane.
The current version of ZBS (0.361) includes significant performance improvements in the debugger. I’d be curious to see if you get any better performance running it comparing to the old version. I’ve run simple benchmarks on Lua scripts and love2d games I have and in some cases got as much as 5-10x improvement in terms of fps or reduced running time under the debugger. Obviously this depends on the application you are running (the less time is spent in Lua code, the smaller the improvement effect is likely to be).
- support run mode for Zerobrane
Now we’ve written some shell to increase the code completion for our project. But it’s also project-related. The code completion system is not context-sensitive, such like the following code:
obj = MyClass:create()
obj.MyMethod() —cannot show code completion of this object for developers.
I think it’s very important for developers but perhaps it’s very hard to do that.
I agree; this functionality is supported when you provide an API description (similar to what Stanko did). For example, you can provide a description for MyClass class and indicate that its “create” method returns an instance of a particular (other) class (using “valuetype” property).
However, it needs to be pre-configured; for example, it would be great if ZBS could scan your project files and simply figure out what methods your classes have and to provide auto-complete for those. I do have plans to support something like this, but given a variety of ways in which classes/objects can be defined in Lua, it’s a quite challenging problem…