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.
LDT/User Area/New Noteworthy/New Noteworthy 1.2
Contents
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.