[ZeroBrane Studio] Change the tooltip formatting via interpreter? How to distribute interpreter & api?

  • From: Jan Drabner <jan@xxxxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Mon, 13 Oct 2014 14:03:41 +0000

Hey there,

I am currently staring to write the api documentation for our engine/game in Lua. I know how to write the API definition itself, and it works well, but I find the formatting of the tooltips to be really bad and would like to change that within the interpreter (or API definition, if possible), so that each user would have the same formatting of tooltips when using our interpreter. The question is: How? I can find no documentation on how that could be achieved within an interpreter.

Another question would be how to apply actual formatting in the tooltip?
When I write something like "**Test**" in the description, it is not written in bold letters, but all the ** just appear as text. Having just plain text is much better than nothing, but being able to make use of actual formatting in the tooltips would bring this to a whole new level. Consider this a feature request if not possible ;)

As a bonus question, how could these two .lua files be distributed in a way with our game so that it is installed into the ZeroBrane directory automatically when the game is installed/started.
Is there an environment variable that has the path to the ZeroBrane folder?

Other related posts: