Lua Glider for Corona® v 1.7 Released! -Discounts Included

Thanks. Today I played and kept learning to use Lua glider and I have a couple of questions:

  1. I couldn’t see optional parameters shown in the autocompletes, I was expecting to see them in square brackets, maybe I’m not doing it correctly

2.- is there a way to quickly remove unused parameters from autocompletes? Somehow I had the idea that if I didn’t use one, by clicking enter once I finished they would go away

  1. Code template shortcuts doesn’t seem to work, not sure if TextExpander might be causing a conflict

4.- How do I install the enhanced themes, colors and fonts that I got with my purchase in the zip file? I didn’t know how to install them
5. In one of the video tutorials, I saw that you highlight systems.documentdirectory, and it gave you a list of other possible parameters for that example like the temp or cache directory. I tried to replicate it and I couldn’t get them

Thanks in advance, overall I’m very happy with your product

Regards
Hector
[import]uid: 100619 topic_id: 31042 reply_id: 124477[/import]

@M.Y.developers, Thanks for your prompt replies

I’ve been using LuaGlider as my only editor and I like it very much. I found another bug though, apparently widget.newTableView is not picked up by the auto complete, so you might want to fix this one as well. Apparently is the only widget not supported by the autocomplete from what I could tell.

Thanks in advance,

Regards
Hector [import]uid: 100619 topic_id: 31042 reply_id: 124866[/import]

Hello Hector,

  1. Yes its a bit hard to see but required arguments are bolded. We will put brackets around them in an update. Usually required arguments are at the end of a function, the Autocomplete will list them with each successive optional argument removed. See the screenshot below:

  1. At the moment no, but you should be able to select an autocomplete item without the optional arguments you are not using.

  2. Which code template are you trying to use?

  3. You can go to preferences (or tools->options) and click on “import.”

  4. Could you post a snippet, we may have forgotten to add that feature in that particular library function.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31042 reply_id: 124492[/import]

Hi,

Thanks very much for your prompt reply.

About #5, I found the solution in the keyboard shortcuts. I found that if I click CTRL + OPTION + SPACE over that argument, autocomplete will display the rest of possible options for that particular argument. I’ll study the rest of keyboard shortcuts as there are some that seem very useful.

I also was able to install the enhanced themes and found one that I like, thanks for helping me.

I think the only issue I have at this time is with the code templates shortcuts. I recorded this short 45 second minute video screen capture, so you can see how I’m doing it, maybe I’m doing something wrong. I tried to use “dnl” for displaying a new line, and if I click “Tab” it doesn’t display it

http://ocotrade.com.s3.amazonaws.com/hdd/Iphone%20Projects/LuaGlider1.mp4

Thanks again
Hector [import]uid: 100619 topic_id: 31042 reply_id: 124546[/import]

Be sure to check out the 1.7.1 update, fixes most of these issues. [import]uid: 55057 topic_id: 31042 reply_id: 124945[/import]

Hello again and apologies for the delay in getting back, been a bit busy here…

I had tried the ‘Lua’ option as well as the ‘All’ option in the fonts dialog but it didn’t make any difference.
However, I have had another tinker about tonight and have just managed to get it working :slight_smile:

I’m not sure what resolved it but as I was going through different fonts in GLider some seemed to work and not others. I played about with the suspect ones in windows and rebooted everything and now they all seem to work ok in Glider too :slight_smile:

Sorry for the false alarm, I reckon it was a Windows 7 issue… [import]uid: 37683 topic_id: 31042 reply_id: 124631[/import]

@Hector,

We will work on a more elegant solution like camel case autocompletion queries. We will let you know when it is available. Code templates are currently deprecated until we find a better solution.

@Whiteball,
Glad you were able to get it working!

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31042 reply_id: 124654[/import]

@M.Y.developers,
some troubles with v1.7

  1. global vars from other module are marked as “possibly uninitialized”
  2. autocomplete sometimes works only with dot, not works with colon. e.g. object: not opens autocomplete, but object. opens. [import]uid: 108150 topic_id: 31042 reply_id: 124660[/import]

@M.Y.developers,

Thanks for looking into this with code templates.

Yesterday I worked with LuaGlider and I noticed a few bugs:

1.- Autocomplete doesn’t work when I want to add an event listener to an object. I think is the same issue @rustam mentions in his #2 point. (ie. button:addEventListener (“tap”, listenerFunction)

2.- I think autocomplete doesn’t recognize sqlite3. It marks a warning as if sqlite3 wasn’t defined (ie require “sqlite3”)

3.- I think autocomplete doesn’t recognize network.download and network.request

Regards
Hector

[import]uid: 100619 topic_id: 31042 reply_id: 124694[/import]

i have simple idea but not sure if this is easy to implement.

Every project can have written binary data somewhere which will be used to make builds. Now it is selecting bundle / version and correcting binary name every time (i am using LITE and FULL with same project). This could be a parameter sent to Corona Simulator. Even more create templates like Project build for testing / for simulator / for distribution. This could real save time :slight_smile: mainly for dev builds (plus no png crush makes dev builds really fast).

Tom [import]uid: 111283 topic_id: 31042 reply_id: 124705[/import]

@rustam,
Thanks for the report.
“1. global vars from other module are marked as “possibly uninitialized””
Please be aware that global variables will only be discovered if the respective file is “required” in the current file. Please send a code snippet or a simple project outlining the issue if you can.

“2. autocomplete sometimes works only with dot, not works with colon. e.g. object: not opens autocomplete, but object. opens.”
Glider will differentiate “.” and “:” operators for you, they are handled differently. If a function is defined as a colon and is then referenced with a dot, glider should automatically add the “self” keyword to avoid a bug. Dot functions cannot be referenced via the colon operator and will not even show up in this instance. Please give a code snippet showing the problem.

@hector7,
Thanks for the reports. We fixed these issues and we will post an update tomorrow. We are also working on the code template like feature.

@Bladko,
Not exactly sure what you mean by this. Are you talking about using different assets for Lite and Full version builds?

Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 31042 reply_id: 124844[/import]

@M.Y.developers, Thanks for your prompt replies

I’ve been using LuaGlider as my only editor and I like it very much. I found another bug though, apparently widget.newTableView is not picked up by the auto complete, so you might want to fix this one as well. Apparently is the only widget not supported by the autocomplete from what I could tell.

Thanks in advance,

Regards
Hector [import]uid: 100619 topic_id: 31042 reply_id: 124866[/import]

Be sure to check out the 1.7.1 update, fixes most of these issues. [import]uid: 55057 topic_id: 31042 reply_id: 124945[/import]

@M.Y.developers

I am testing the trial of Lua Glider on windows and two things immediately popped up. I am not sure if this are due to trial or something else.

  1. Evaluate expression is always disabled and shortcut also does nothing.
  2. When examining variables on a break-point table variables show only expand to view in the value column. When clicking the button with 3 dots next to it it pops up a window with the same text “Expand to view”. After closing the window the variable becomes a string. Is it not possible to inspect tables or am I missing something?

Regards [import]uid: 137090 topic_id: 31042 reply_id: 125399[/import]

I am using the Cider 1.5.3 how I update to Glider? [import]uid: 142895 topic_id: 31042 reply_id: 125445[/import]

Hello primoz,
Thanks for your interest. Please use the expand button on the left to view the contents of tables.

“1. Evaluate expression is always disabled and shortcut also does nothing”
Watches are not implemented. If you would like to watch a variable you can just check it and right click->switch to filter view. We cannot evaluate expressions because these functions are disabled in the Corona simulator.

Hello stan8,
You should have received an email about it about a week or so ago. Please check your spam box. Send us an email via our contact form and we will send you a key.
http://www.mydevelopersgames.com/CIDER/contact.html

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31042 reply_id: 125472[/import]

Oh yes, we found the e-mail, thanks!
Speeder [import]uid: 142895 topic_id: 31042 reply_id: 125475[/import]

Hi makers of best Lua IDE in the universe :slight_smile:

please add option to:

collapse/fold all files
collapse/fold all files in all projects
format all files in this project
format all files in all project

please think about features:

auto collapse / fold functions based on cursor position using keyboards cursors or mouse buttons.

Tom [import]uid: 111283 topic_id: 31042 reply_id: 125482[/import]

Watches are not implemented. If you would like to watch a variable you can just check it and right click->switch to filter view. We cannot evaluate expressions because these functions are disabled in the Corona simulator.

Why are they disabled? And if this is not implemented why the menu item and shortcut? [import]uid: 137090 topic_id: 31042 reply_id: 125537[/import]

@Bladko,
Glad you are liking it!
We will try adding features 1+2 for that and the navigator.
Feature 3+4 is already implemented. See the screenshot:
http://static.xscreenshot.com/2012/09/28/03/screen_8742950cae49fda434831d2ad585b6d2

“auto collapse / fold functions based on cursor position using keyboards cursors or mouse buttons.”
We can see about doing this too.

@primoz.cerar,
“Why are they disabled?”
We are not allowed to evaluate expressions in the corona simulator. This is due to apple restrictions on running dynamic code on the device.
“And if this is not implemented why the menu item and shortcut?”
We plan on supporting it in other SDK’s as they allow eval, we can’t find a way to remove the UI elements as they are hard coded in the Netbeans platform. [import]uid: 55057 topic_id: 31042 reply_id: 125677[/import]