Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "LDT/User Area/New Noteworthy/New Noteworthy 1.2"

(Run interpreter directly automatically)
(Choose interpreter automatically)
Line 91: Line 91:
 
[[File:ScreenLaunchConf.png|center]]
 
[[File:ScreenLaunchConf.png|center]]
 
<center><small><em>You are warned when you launch an application with an inappropriate interpreter</em></small></center>
 
<center><small><em>You are warned when you launch an application with an inappropriate interpreter</em></small></center>
 +
 +
== LuaJIT Integration ==
 +
 +
Now, when you add your <code>LuaJit</code> to LDT, you can inspect ''FFI CData''.
 +
 +
[[File:ScreenAddLuaJITInterpreter.png|center]]
 +
<center><small><em>Adding a <code>LuaJit</code> interpreter to LDT</em></small></center>
 +
 +
[[File:ScreenLuaJITDebug.png|center]]
 +
<center><small><em>How <code>Cdata</code> are displayed in debugger</em></small></center>

Revision as of 12:43, 14 April 2014

New & Noteworthy 1.2

Add a library documentation to a project

since 1.2M1

By adding a .doclua file describing an API in Lua Documentation Language in your project source path, you will have auto-completion for described API.

ScreenDoclua.png

Debugging fix and enhancements

since 1.2M1

Here are some fixes to improve debugging experience and troubleshooting:

  • Avoid a crash when evaluating an expression from the watch view.
  • Use of interpreter's LUA_PATH if LUA_PATH environment variable is not available.
  • The debugger now logs his version and his connection status.
  • Better error logging during remote debug sessions.
ScreenDebuggerVersion.png

Extending a type

since 1.2M1

Using the @extend keyword in a module or type will extend it with all fields and functions of given super type. See detailed documentation.

ScreenExtendingType.png

Handling table field

since 1.2M1

On a variable documented with type #table, its fields are now displayed in the outline and available from auto-completion.

ScreenFunctionReturnedTable.png

Rename

since 1.2M1

Pressing ALT+SHIFT+R on a Lua variable enables to rename it and all its occurrences.

ScreenRename.png

Integration of Metalua 0.7.2

since 1.2M1

LDT is now based on Metalua 0.7.2.

Add map/list support

since 1.2M2

Using the #list or #map to type a variable or a field. See detailed documentation.

ScreenInlineMap.png
Using map in-line notation on a field
ScreenInlineList.png
Using list in-line notation on variable to describe function result

It is also possible to give a map or list behavior to a type by using @map or @list keywords.

ScreenMap.png
Using @map on a type
ScreenList.png
Using @list on a type

Add __call support

since 1.2M2

Using the @callof keyword in a function to make a type callable. See detailed documentation.

ScreenCallOf.png
@callof in action

Choose interpreter automatically

since 1.2M2

Interpreters are now linked to Execution Environments, this allows LDT to run applications with a compatible interpreter automatically.

ScreenAddInterpreterEE.png
Specify an Execution Environment which match your interpreter
ScreenLaunchConf.png
You are warned when you launch an application with an inappropriate interpreter

LuaJIT Integration

Now, when you add your LuaJit to LDT, you can inspect FFI CData.

ScreenAddLuaJITInterpreter.png
Adding a LuaJit interpreter to LDT
ScreenLuaJITDebug.png
How Cdata are displayed in debugger

Back to the top