Skip to main content



      Home
Home » Archived » Lua Development Tools » No Outline Information for Lua Files
No Outline Information for Lua Files [message #901467] Sun, 12 August 2012 15:03 Go to next message
Eclipse UserFriend
I have installed the Lua Development Tools, both as a stand-alone IDE and as a plug-in for my main Eclipse application, but am unable to get it to display any Outline information for the .lua files in my project.

This is doubly odd as the project is a mix of Lua and XML, and the XML files are outlined properly despite there being no XML editor on offer.

I am quite willing to believe that the problem is my own stupidity, but I have been scrathcing my head over this on and off for days now and can't progress.

I'm running on Windows 7 64-bit. Is there something obvious I'm missing?
Re: No Outline Information for Lua Files [message #901468 is a reply to message #901467] Sun, 12 August 2012 15:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rob!

Care sharing an example of the files you're trying to edit?
You say they are a mix of XML and Lua... do they have a .xml file extension? If so, they are most likely opened by default by the XML editor in Eclipse, not the Lua one...

[Updated on: Sun, 12 August 2012 15:13] by Moderator

Re: No Outline Information for Lua Files [message #901470 is a reply to message #901468] Sun, 12 August 2012 15:59 Go to previous messageGo to next message
Eclipse UserFriend
They're pretty standard Lua and XML. I didn't mean to imply that the syntaxes were mixed within a file - there are some XML files named *.xml and some Lua files named *.lua. The syntax colouring is working fine, I just have a blank outline
Re: No Outline Information for Lua Files [message #901471 is a reply to message #901470] Sun, 12 August 2012 16:06 Go to previous messageGo to next message
Eclipse UserFriend
More information: the stand-alone installation doesn't syntax colour the XML and displays An outline is not available in the outline frame, which is greyed.

However the Lua files are syntax coloured and the outline frame it white with no message, presumably meaning that it can show an outline but there's nothing to show. Also, when I try to use 'Open Declaration' on an identifier it pings mw and does nothing. I'm making sure to use global variables to test this.

It's possible I have added the files to the project wrongly as I've been using Eclipse for only a couple weeks. I used File/Import/General/File System. But I can't a better way to do it and the documentation seems to say I've done the right thing

[Updated on: Sun, 12 August 2012 16:08] by Moderator

Re: No Outline Information for Lua Files [message #901785 is a reply to message #901471] Tue, 14 August 2012 11:11 Go to previous message
Eclipse UserFriend
Hi Rob,

Unfortunately, the current outline is quite limited. Only two things are handled by the outline :

* first level local variables and functions ("first level" means locals that have file scope)
* Any module, function and types commented using luadoc

If you don't have neither of this, your outline must be empty.


Previous Topic:LDT and Lua Inspect
Next Topic:Code Assistant doesn't work with networked sources?
Goto Forum:
  


Current Time: Tue Jul 15 15:09:55 EDT 2025

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

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

Back to the top