Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 388758 - Run As Lua Application on a project behavior
Summary: Run As Lua Application on a project behavior
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: 0.9   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: 0.9 M2   Edit
Assignee: Marc Aubry CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 11:27 EDT by Marc Aubry CLA
Modified: 2012-09-17 12:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Aubry CLA 2012-09-04 11:27:26 EDT
The right click menu allow users to run a Lua project as a Lua application. Currently the behavior of this shortcut is:
1. If there is only one Lua file in the project. Create a launch configuration with the only lua file and run it.
2. If there more than one file, prompt the user to choose the lua file he want to launch, create the launch configuration and run it

Maybe some more logic can be added:
Between the 1 and 2 step:
* If the project have a src/main.lua file, launch it
Before the 1 step
* If the project has already been launched, run the most recent existing launch configuration.

This is a proposal, feel free to discuss about it.
Comment 1 Simon Bernard CLA 2012-09-17 12:58:14 EDT
fixed in HEAD (commit : c376f4d9f17dbb406d46d2081c8f52913c9250bf)