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.
Difference between revisions of "LDT/User Area/New Noteworthy/New Noteworthy 1.3"
Line 1: | Line 1: | ||
= New & Noteworthy 1.3 = | = New & Noteworthy 1.3 = | ||
− | == | + | == Lua 5.2 == |
− | + | Lua 5.2 is now supported! | |
− | + | === Edition === | |
− | + | You can type and valid Lua 5.2 code with ''LDT''. | |
− | === | + | <center>[[File:gotoLabelEditor.jpg]]</center> |
+ | |||
+ | === New project === | ||
It is now possible to choose project grammar while creating project. Even nicer, grammar is chosen accordingly to Execution Environment. | It is now possible to choose project grammar while creating project. Even nicer, grammar is chosen accordingly to Execution Environment. | ||
Line 15: | Line 17: | ||
<center>[[File:NewLua52.png]]</center> | <center>[[File:NewLua52.png]]</center> | ||
− | + | '''Note:''' You can change grammar version at project or workspace level. | |
− | + | == Conversion == | |
− | + | This version is the first stable one since Koneki. For an easy transition, convert any project to ''LDT'' nature is possible. | |
− | + | In order to do so we add Lua nature to an existing project. | |
− | + | Doing this on a Koneki project will allow to convert it to a ''LDT'' 1.3 one, see related [[LDT/User_Area/Tutorials/MigrateFromKoneki|documentation]]. | |
Right click on a project then in menu Configure select "Convert to Lua project". | Right click on a project then in menu Configure select "Convert to Lua project". | ||
<center>[[File:convertMenu.jpg]]</center> | <center>[[File:convertMenu.jpg]]</center> | ||
− | + | Now, it even asks nicely for grammar version and Execution Environment. | |
− | <center>[[File:ConvertRegular.png]]</center> | + | <center>[[File:ConvertKoneki.png]][[File:ConvertRegular.png]]</center> |
− | Add to the source path the folder where is your Lua code. | + | Add to the source path the folder where is your Lua code, click '''Add source folder'''. |
− | <center>[[File: | + | <center>[[File:BuidPathFolderAdd.png]]</center> |
− | <center>[[File: | + | <center>[[File:BuidPathFolderAddition.png]]</center> |
+ | <center>[[File:BuidPathFolderAdded.png]]</center> | ||
− | + | Voila | |
− | + | <center>[[File:addSrcToPathDone.png]]</center> | |
− | + | == Formatter == | |
− | + | Bug fix: Formatter now works on files which contain goto/label. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 13:02, 4 June 2015
Contents
New & Noteworthy 1.3
Lua 5.2
Lua 5.2 is now supported!
Edition
You can type and valid Lua 5.2 code with LDT.
![GotoLabelEditor.jpg](/images/1/11/GotoLabelEditor.jpg)
New project
It is now possible to choose project grammar while creating project. Even nicer, grammar is chosen accordingly to Execution Environment.
![NewLua52.png](/images/3/3a/NewLua52.png)
Note: You can change grammar version at project or workspace level.
Conversion
This version is the first stable one since Koneki. For an easy transition, convert any project to LDT nature is possible.
In order to do so we add Lua nature to an existing project.
Doing this on a Koneki project will allow to convert it to a LDT 1.3 one, see related documentation. Right click on a project then in menu Configure select "Convert to Lua project".
![ConvertMenu.jpg](/images/d/d6/ConvertMenu.jpg)
Now, it even asks nicely for grammar version and Execution Environment.
![ConvertKoneki.png](/images/2/2d/ConvertKoneki.png)
![ConvertRegular.png](/images/1/1b/ConvertRegular.png)
Add to the source path the folder where is your Lua code, click Add source folder.
![BuidPathFolderAdd.png](/images/4/4f/BuidPathFolderAdd.png)
![BuidPathFolderAddition.png](/images/0/02/BuidPathFolderAddition.png)
![BuidPathFolderAdded.png](/images/1/1b/BuidPathFolderAdded.png)
Voila
![AddSrcToPathDone.png](/images/0/0c/AddSrcToPathDone.png)
Formatter
Bug fix: Formatter now works on files which contain goto/label.