Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Does code assistance only work if you have the lua module associated with the documents
Does code assistance only work if you have the lua module associated with the documents [message #1416920] Thu, 20 June 2013 16:26 Go to next message
Neil W is currently offline Neil WFriend
Messages: 14
Registered: May 2013
Junior Member
I'm interested in providing my users an Execution Environment with code assistance for an in-house Lua library.

As an experiment I installed the mihini-0.8 Execution Environment from http://wiki.eclipse.org/Koneki/LDT/User_Area/Available_Execution_Environments, then created a Lua project based on that. I got the mihini templated main file in the IDE, so I am confident it has the correct EE.

However, if I try to use code assistance I only get the lua language assistance - none of the mihini code.

This is of interest to me because I want to generate assistance for code that is generated dynamically. i.e I want to distribute documentation, not the Lua library.

Is this possible? Or does LDT require the Lua module to be present as well?

Thanks,

Neil
Re: Does code assistance only work if you have the lua module associated with the documents [message #1416921 is a reply to message #1416920] Thu, 20 June 2013 16:48 Go to previous messageGo to next message
Simon Bernard is currently offline Simon BernardFriend
Messages: 339
Registered: July 2009
Senior Member
Hi,

1)For the mihini EE problem, I suppose you didn't see any mihini assistance because you expected new global variable.
Try to do that :

local serial = require 'serial'
serial.

you should have autocompletion for serial. ( serial.open(port,config) )

2) An execution environment could contain only documentation file, so you can add user assistance even if you don't have source code.

3) You could see some documentation on how to create an execution environment on the wiki (http://wiki.eclipse.org/Koneki/LDT)
see :
http://wiki.eclipse.org/Koneki/LDT/User_Area/Documentation_Language => to learn documentation language.
http://wiki.eclipse.org/Koneki/LDT/User_Area/LuaDocumentor => to generate html or api file (file with documentation only from documented source code).
http://wiki.eclipse.org/Koneki/LDT/User_Area/Execution_Environment_file_format => to know the structure of an Execution Environment.

HTH ;)

Simon
Re: Does code assistance only work if you have the lua module associated with the documents [message #1416923 is a reply to message #1416921] Thu, 20 June 2013 16:52 Go to previous message
Neil W is currently offline Neil WFriend
Messages: 14
Registered: May 2013
Junior Member
Perfect! Thanks Simon.
Previous Topic:running Lua Remote Application - Permission denied
Next Topic:Code Assist for Corona SDK
Goto Forum:
  


Current Time: Fri Nov 16 22:00:46 GMT 2018

Powered by FUDForum. Page generated in 0.02062 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top