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"

(Created page with "=New & Noteworthy 1.2= == Add a library documentation to a project == <small>since 1.2M1</small> By adding a file ".doclua" describing an API in lua documentation language ...")
 
Line 11: Line 11:
 
* Editor with auto-completion on the lib described in the doclua file.
 
* Editor with auto-completion on the lib described in the doclua file.
  
== Debugging fix and ehencements ==
+
== Debugging fix and enhancements ==
  
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
Several bugs have been fixed:
+
Here some fixes to improve debugging experience and troubleshooting:
 
* Avoid a crash when evaluating an expression from the watch view.
 
* Avoid a crash when evaluating an expression from the watch view.
* ...
+
* Use of the interpreter Lua path if the ''LUA_PATH'' environment variable is not set.
 
+
* The debugger now logs his version and his connection status.
The debugger now print his version and some connection log to help troubleshooting.
+
* Better error loging during remote debug sessions.
  
 
''Screenshoot''
 
''Screenshoot''
 
A screen of the debuggers logs in the consoleVIew ?
 
A screen of the debuggers logs in the consoleVIew ?
 
== Integration of metalua 0.7.2 ==
 
 
<small>since 1.2M1</small>
 
 
LDT is now based on the version 0.7.2 of metalua.
 
  
 
== Extending a type ==
 
== Extending a type ==
Line 34: Line 28:
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
Using the @extend keyword in a module or type will extend it with all the field, functions of the given super type.
+
Using the '''@extend''' keyword in a module or type will extend it with all the field, functions of the given super type.
 
See [[detailed documentation]].
 
See [[detailed documentation]].
  
Line 44: Line 38:
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
On a variable documented of the type #table, field are now reconize and displayed in the outline and available in the autocompletion.
+
On a variable documented with type ''#table'', his fields are now displayed in the outline and available in the autocompletion.
  
 
''Screenshoot''
 
''Screenshoot''
Line 57: Line 51:
 
''Screenshoot''
 
''Screenshoot''
 
* While renaming a variable with occurences
 
* While renaming a variable with occurences
 +
 +
== Integration of metalua 0.7.2 ==
 +
 +
<small>since 1.2M1</small>
 +
 +
LDT is now based on the version 0.7.2 of metalua.

Revision as of 06:56, 17 February 2014

New & Noteworthy 1.2

Add a library documentation to a project

since 1.2M1

By adding a file ".doclua" describing an API in lua documentation language in your project sourcepath, you will have auto-completion on the described API.

Screenshoot

  • Script explorer containing a doclua file
  • Editor with auto-completion on the lib described in the doclua file.

Debugging fix and enhancements

since 1.2M1

Here some fixes to improve debugging experience and troubleshooting:

  • Avoid a crash when evaluating an expression from the watch view.
  • Use of the interpreter Lua path if the LUA_PATH environment variable is not set.
  • The debugger now logs his version and his connection status.
  • Better error loging during remote debug sessions.

Screenshoot A screen of the debuggers logs in the consoleVIew ?

Extending a type

since 1.2M1

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

Screenshoot Show autcompletion on a super field just after the @extend keyword.

Handleing table field

since 1.2M1

On a variable documented with type #table, his fields are now displayed in the outline and available in the autocompletion.

Screenshoot

  • After a local variable commented by -- #table initialized with a function define some

Rename

since 1.2M1

Pressing "ALT+SHIFT+R" on a lua variable enable to rename it and all his occurences.

Screenshoot

  • While renaming a variable with occurences

Integration of metalua 0.7.2

since 1.2M1

LDT is now based on the version 0.7.2 of metalua.

Back to the top