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"

Line 5: Line 5:
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
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.  
+
By adding a <code>.doclua</code> file describing an API in Lua Documentation Language in your project ''source path'', you will have auto-completion for described API.  
  
 
''Screenshoot''
 
''Screenshoot''
* Script explorer containing a doclua file
+
* Script explorer containing a <code>doclua</code> file
* Editor with auto-completion on the lib described in the doclua file.
+
* Editor with auto-completion on the lib described in the <code>doclua</code> file.
  
 
== Debugging fix and enhancements ==
 
== Debugging fix and enhancements ==
Line 15: Line 15:
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
Here some fixes to improve debugging experience and troubleshooting:
+
Here are 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.
+
* Use of interpreter's <code>LUA_PATH</code> if <code>LUA_PATH</code> environment variable is not available.
 
* The debugger now logs his version and his connection status.
 
* The debugger now logs his version and his connection status.
* Better error loging during remote debug sessions.
+
* Better error logging during remote debug sessions.
  
 
''Screenshoot''
 
''Screenshoot''
A screen of the debuggers logs in the consoleVIew ?
+
A screen of the debuggers logs in the ''consoleView'' ?
  
 
== Extending a type ==
 
== Extending a type ==
Line 28: 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 <code>@extend</code> keyword in a <code>module</code> or <code>type</code> will extend it with all fields and functions of given super type.
 
See [[detailed documentation]].
 
See [[detailed documentation]].
  
 
''Screenshoot''
 
''Screenshoot''
Show autcompletion on a super field just after the @extend keyword.
+
Show auto-completion on a super field just after the @extend keyword.
  
== Handleing table field ==
+
== Handling table field ==
  
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
On a variable documented with type ''#table'', his fields are now displayed in the outline and available in the autocompletion.
+
On a variable documented with type ''#table'', its fields are now displayed in the outline and available from auto-completion.
  
 
''Screenshoot''
 
''Screenshoot''
* After a local variable commented by -- #table initialized with a function define some
+
* After a local variable commented with -- #table initialized with a function define some
  
 
== Rename ==
 
== Rename ==
Line 47: Line 47:
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
Pressing "ALT+SHIFT+R" on a lua variable enable to rename it and all his occurences.
+
Pressing <code>ALT+SHIFT+R</code> on a Lua variable enables to rename it and all its occurrences.
  
 
''Screenshoot''
 
''Screenshoot''
* While renaming a variable with occurences
+
* While renaming a variable with occurrences
  
== Integration of metalua 0.7.2 ==
+
== Integration of Metalua 0.7.2 ==
  
 
<small>since 1.2M1</small>
 
<small>since 1.2M1</small>
  
LDT is now based on the version 0.7.2 of metalua.
+
LDT is now based on <code>Metalua 0.7.2</code>.

Revision as of 11:25, 17 February 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.

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 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.

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 fields and functions of given super type. See detailed documentation.

Screenshoot Show auto-completion on a super field just after the @extend keyword.

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.

Screenshoot

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

Rename

since 1.2M1

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

Screenshoot

  • While renaming a variable with occurrences

Integration of Metalua 0.7.2

since 1.2M1

LDT is now based on Metalua 0.7.2.

Back to the top