Yes, descriptions and a plugin manager are likely coming.phobos2077 wrote: ↑Mon Feb 20, 2017 9:50 amActually I've spent some time digging into every plugin available and tweaked some settings, now it's a much better experience. I think some kind of description for every plugin in the plugin repository will be a good idea. Of course you can open the source code but it's not convenient and not everybody will be doing that.
> Why is it @tparam and not just @param? And is there any way I can see my custom function's description when trying to write a function call?
They are both supported; it was just an example. You can do either of the following:
Code: Select all
-- @tparam[...] <type> <paramname> -- @param[type=<type>] <paramname>
The IDE takes the scope into account, so if the function is defined below the spot you are typing in, it won't be offered in auto-complete.
> I will evaluate more and see how it works in long term. Right now there are couple of things bugging be with ZBS:
> 1. Debugging initializes a bit slow. When I debug with BabeLua it runs almost instantly (without mobdebug), but with ZBS my LOVE seems to hang for about 12 seconds before showing the game. Normal execution works instantly.
You can check this session in the documentation for suggestions on how to speed it up: https://studio.zerobrane.com/doc-lua-de ... off-and-on
Also, you can start debugging at any time, so if there is some initialization code that you don't need to debug, you can completely skip it and call `start()` only when needed (for example, when you get to a point in the game you want to debug).
> 2. There is no tooltips for functions and any other symbols, or maybe I don't understand how to configure them? I installed a plugin that displays some Lua reference tips (as well as LOVE API tips) inside the docked window in the bottom. But in almost every other IDE such tips are usually displayed right next to the symbol or mouse cursor when you hover over it or press some key combination.
Both typing and mousing-over should work for all functions/methods the IDE "knows" about. For example, if you mouse over `print(123)`, you should see a tooltip with description for the "print" function. Similarly, when you type `print(` you should see the same tooltip. Try typing `love.draw(` and you should see its tooltip (assuming LOVE interpreter is set as the current one).