View Single Post
10-12-05, 11:32 PM   #1
Nulkris
A Cobalt Mageweaver
 
Nulkris's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 214
Exclamation New Version 1.0.100.4 Up

Hi guys,

Well I guess you've all been quiet playing with 1.8 things recently, I hope you are still interested in the designer. I have just uploaded a new version, it contains a fair number of new features, some to support 1.8 better (loads in the template files correctly, and has an option to disable schema checking on Blizzard files), and some for improving the lua editor experience.

I converted the lua parser into C#, so I have full access to syntax checking and knowledge about what is in a lua file. The first feature that this allows is a structure view of the lua file, including variables and functions (global and local). This is just basic for now, allowing you to double click and go to the definition of that variable/function but I have lots of stuff in mind for the parser (eg. full contextual auto-completion lists and calltips, and online syntax checking). If you find any valid Lua that does not seem to compile, then please attach it to a reply, thanks.

I am also messing with an api documentation file format defined by a schema provided. I have documented a few functions, and you will see the information in a tooltip if you hold the mouse over a documented function (for instance getmetatable() or LayoutFrame:Hide()). I don't know where it will go because I doubt I will have time to document a quarter of the functions available. I am also playing with the idea of supporting the Microsoft embedded documentation format, ie:

Code:
-- <summary>
--	The OnEvent handler for the Tutorial frame
-- </summary>
function TutOnEvent()
  if(event == "VARIABLES_LOADED") then
	DoStuff();
  end
end
It would provide similar information to the api information, but allow the documentation to be created on the fly in the loading process. Do you think anyone would use it?

I have also included a tutorial, please try it out and see if it works.

Thanks for testing
__________________
Nulkris - A80 Rogue - Proudmoore
(Also Drukris, Hamkris on Proudmoore; Hulkris on Jubei'Thos & Khaz Modan)

Last edited by Nulkris : 10-13-05 at 03:33 AM.
  Reply With Quote