WowLua

WowLua is an in-game Lua scripting environment that includes an interactive Lua interpreter as well as a multi-page script editor. Other features include:

Syntax coloring, courtesy of krka's spectacular For All Indents and Purposes library

Sleek buttons, courtesy of Mikk

When WowLua is running code, it defines a global function print() which directs output to the WowLua window, for convenience. This global is removed when not running from WowLua

Can run WowLua pages from the commandline using /wowluarun or /luarun. Each slash command takes the name of a page, and prints any issues or activity to the chat frame. These can thus be used from macros.

Can open WowLua using /wowlua or /lua. Both of these slash commands will take a lua expression and run it, if provided:

/lua print(14) will open WowLua and print the number 14 to the output window.

* Added a new config button to the toolbar which will open the UI options panel to the WowLua page.
* This config panel can be used to customize the font size used for WowLua
* Fixed cursor navigation in the editor
* Added a slash command (/luarun /wowluarun) that takes the name of a page to run, and runs it

The first can be done, the second can't. Tabs are not supported at all in WoW, so it will always have to be spaces, unfortunately. Thankfully any capable editor can re-intent a block of code to whatever standard you specify.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Great addon, I've been using it a lot to prevent the loading times when testing if some simple functions work.

Here I have two suggestions for the addon, the first is to be able to turn on auto-save in the settings. I usually don't have to save stuff (although doing so might be handy) but it's annoying to always have to confirm if I really want to close the window after trying some stuff. The second suggestion is to allow a user to enter the indentation in the settings. Personally I always use a tab to indent scopes so I can quickly go through a line. Copying the code as it is right now from WowLua into my text editor requires me to translate all spaces into tabs.

Both are minor things that I do not think will be too difficult but they would be great helps minimizing the manual actions required to test pieces of code.

There is a binding for save current page, afaik. Open key bindings dialogue.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

No prob. Just like to mention what an awesome tool this thing is. Definitely better than the old ALT-TAB/save/reload cycle I've been using forever. Only it's missing is CTRL-S to save which I still do out of habit. Other than that, great tool. Will be using for a while to come.

__________________

Originally posted by Mirrikat45 so says the 1/2 million downloads per week.......

Impossible statistics = FAIL!! But don't point this out, or your post will be deleted!

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

When does this happen? It helps immensely if you can give me the conditions under which an error occurred.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

I fail to see why '3' is not sensible.. it's used in many projects because they feel it's 'more than 2' and 'less than four'. I also don't understand how copy and pasting it to your project is an issue, simply re-indent it. If you don't have an editor that can do that for you, I suggest you get one.

The number of spaces used can be manually edited in FAIAP.lua.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Originally posted by Cladhaire Git is superior for the way I write code =)

Got that. I've been using CVS up until recently, even with biggest projects. But when I got a few that require changes in several files for nearly every feature change, I switched to Subversion. And pretty much satisfied by it's flexibility for now.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Originally posted by Cladhaire For what it's worth, WowLua has moved from SVN to Git, so the old SVN repository will no longer work if you're tracking it that way. You can contact me for the information about the new repository if you need to.

Out of pure curiosity, what was the reason for such move?
If it can be put in short

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.