LuaInspect is a tool that does Lua code analysis. The result of this analysis can also be rendered as HTML. A plugin is also included for the SciTE text editor for real-time source code analysis, intelligent highlighting, and refactoring. The code is in working condition but still preliminary.

The tool operates by both static and dynamic analysis, using the AST converted via MetaLua (pure Lua portions).

improve syntax highlighting on code currently being typed that is not yet syntactically valid. For example, when typing something like math.sqrt(2), prior to typing the final (2) to make it a valid statement, an error displays and syntax highlighting is lacking.

Download

Note: A patched version of SciteExtMan is bundled (the older 2006-11-10 version on SciteExtMan won't work fully).

Dependencies

Tested with SciTE version 2.12 (older versions might not work) and SciteExtMan (as of 2010-07-20). ctagsdx.lua from the full SciteExtMan is optional (allows "goto mark" command to return to previous location following a "go to definition").