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/User Guides/User Guide 0.8

< LDT‎ | User Area/User Guides
Revision as of 17:23, 14 December 2011 by BCabe.sierrawireless.com (Talk | contribs) (Lua development tools overview)

Lua development tools overview

LDT provides tooling to facilitate Lua application development. It allows to structure the code into projects, which enables project-based configuration. LDT aims, as well, to enhance user Lua experience with features such as variable occurrences and scope aware completion. Have a look at some of our features:

Getting started

In order to be able to enjoy Lua Development Tools, there only a few steps.

  • Create a project
    • Name it
  • Edit a Lua source file

Create a project

For your code to benefit from Lua Development Tool, it has to be marked as Lua compliant. How could you do this. Just create a Lua Project, it will add Lua nature to your code.

Choose Lua Project

Select the right project type: Lua Project.

ProjectList.png

Name it

Just enter a valid name.

NewLuaProject.png

Edit a Lua source file

Now that your project is created. You might want to write some Lua. In every project, there is a default source folder so far named src. You can edit the main.lua file in it.

EditingFile.png

Source folders are imported, as they are the one processed to compute tooling information. As example, if you code a module outside any source folder, when called from another module or script, it content won't be available in code assistance.

More

You can also know more about other features:



Back to the top