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

LDT/User Area/New Noteworthy/New Noteworthy 1.1

< LDT‎ | User Area/New Noteworthy
Revision as of 13:13, 30 October 2013 by Code.simonbernard.eu (Talk | contribs) (Smarter Completion Trigger)

New & Noteworthy 1.1

Lighter Documentation

since 1.1M1

It is now possible to describe code with significantly less documentation. We analyze the code, filling documentation blanks from it, making documentation more fluent.

ScreenLessDoc.png
Without inference on left, with inference on right.

Code analysis

since 1.1M1

Tables are a key concept of Lua. It is mandatory for Koneki LDT to handle them right to enable you to code at ease.

Table Detection

since 1.1M1

We managed to summarize #tables nicely in outline. It is obviously now possible to enjoy table content.

  • Fields
  • Functions or Methods
  • Nested tables

Note:' If you click on #table fields, you will get code navigation to their definition.

ScreenTypeDetection.png
Type detection

Module Detection

since 1.1M1

Turn your table into a module quite simple: it is simply return it. As below.

ScreenModuleDetection.png
Module detection

Completion Enhancements

Smarter Completion Trigger

since 1.1M2

Auto-completion is now available after function calls or "object" invocations. It is no more disturbed by whitespace.

More Globals Variables Suggested

since 1.1M2

On auto-completion, globals variables from the others files in the buildpath (also called sourcepath) of your project will be suggested but at a lower relevance than the others variables. Be careful that the globals variables may not be initialized where suggested, using it without safe checks may thrown runtime errors.

Note: The suggestion of globals from others files can be disabled in the Lua preference page. Disabling this feature can enhance global performances.

Natural Completion On Strings

since 1.1M1

It now possible to trigger completion on #string variable without using the string module. You have completion for mystring:sub(...).

RegularStringCompression.png
Completion on #string variable from assignment
TypedStringCompression.png
Completion on #string variable from explicit typing

Better Error Handling

since 1.1M1

To speed up syntax error troubleshooting, the output given is now the Lua 5.1 interpreter one. During the process, syntax error detection became about 10 times faster.

Formatter Defaults

since 1.1M1

For a better out of the box experience, formatter now uses Lua's 2 spaces indentation standard by default.

Formatter Enhancements

since 1.1M2

The formatter is smarter when formating Lua expression written on several lines.

Multi-files Template for Execution Environment

since 1.1M2

The Execution Environment archive format has changed to allow to create projects initialized with default folders and files. Existing Execution Environments using the old archive format are still supported. See the create Execution Environment tutorial.

Debugger Introspection Extensibility

since 1.1M2

The debugger can now be extended with inspectors to decode custom data. Inspectors allow the debugger to display data in a human readable way. See the custom debugger introspection tutorial for further details. As explained in the tutorial, the inspector for LuaJIT cdata is shipped in the product.

Smarter Auto Close

since 1.1M1

Auto close got smarter and feels more natural. It is a silent improvement. If you did not notice it, it indicates it works just fine.

Back to the top