Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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"

m (Rename)
(New & Noteworthy 1.2)
Line 48: Line 48:
  
 
LDT is now based on <code>Metalua 0.7.2</code>.
 
LDT is now based on <code>Metalua 0.7.2</code>.
 +
 +
== Add map/list support ==
 +
 +
<small>since 1.2M2</small>
 +
 +
Using the <code>#list</code> or <code>#map</code> to type a variable or a field.
 +
See [[detailed documentation]].
 +
 +
[[File:ScreenMap.png|center]]
 +
[[File:ScreenList.png|center]]
 +
 +
It is also possible to give a map or list behavoir to a 'classic' type by using <code>@map</code> or <code>@list</code> keyword.
 +
 +
[[File:ScreenInlineMap.png|center]]
 +
[[File:ScreenInlnineList.png|center]]
 +
 +
== Add __call support ==
 +
 +
<small>since 1.2M2</small>
 +
 +
Using the <code>@callof</code> keyword in a <code>function</code> to make a type 'callable'.
 +
See [[detailed documentation]].
 +
 +
[[File:ScreenCallof.png|center]]
 +
 +
== Run interpreter directly automatically ==
 +
 +
<small>since 1.2M2</small>
 +
 +
Interprer is now linked to execution environment, this will allow LDT to run application with a compatible interpreter automatically.
 +
 +
[[File:ScreenInterpreterConf.png|center]]
 +
[[File:ScreenLaunchConf.png|center]]

Revision as of 11:03, 4 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.

ScreenMap.png
ScreenList.png

It is also possible to give a map or list behavoir to a 'classic' type by using @map or @list keyword.

ScreenInlineMap.png

Add __call support

since 1.2M2

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

Run interpreter directly automatically

since 1.2M2

Interprer is now linked to execution environment, this will allow LDT to run application with a compatible interpreter automatically.

ScreenLaunchConf.png

Back to the top