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

@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]

BTW, as for key features switching from textmate : what are shortcuts for block comment/uncomment, and create/navigate through bookmarks ? [import]uid: 9328 topic_id: 31042 reply_id: 125746[/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]

Hello Antheor,

Thanks for your interest!
You have 2 options

  1. you can learn the netbeans equivalent key combinations
    -Comment/Uncomment = Ctrl+Shift+C
    -Create Bookmark = Ctrl+Shift+M
    -You can Navigate bookmarks via window->Navigating->Bookmarks or you can assign key combinations to perv/next bookmark.

  2. you can create your own keyboard profile.
    -preferences (or options)-> keymap ->Manage profiles -> Create your own.

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

Hi,

how to use libraries properly in 1.7.2 ? i moved some standard files outside project to library folder but there is corona error not could not found file.

Also would be cool to have feedback / callback method to go to definition for custom classes that are not properly managed by IDE. So we could be able to go to definition, check what are fields in classes etc and then go back to place from go to definition was run.

Also would be great to have warning on locals that are initialized but never used in the code, at least in same file.

You did great job with this IDE, especially for dynamic language.

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

@Tom,

“how to use libraries properly in 1.7.2”
Currently external libraries are only used to add to the autocomplete list as well as provide extra links to the go-to declaration. We are thinking of ways of copying the library files before running the application. We could implement our own way but we are also thinking about using more standard tools like ant for this purpose.

"Also would be cool to have feedback / callback method to go to definition for custom classes that are not properly managed "
It is pretty tricky to differentiate a custom class from a table. How do you purpose to do this? At present you should be able to ctrl click on table memebers and it will take you to the declaration location.

“Also would be great to have warning on locals that are initialized but never used in the code”
Agreed. We are reworking the parser to make it more robust, once we trust it enough we can start implementing more advanced refactoring functions. What has saved us much time in our java development is a “fix imports” action. This will basically look for any Classes used by the current file and will make sure they are properly imported, we believe something like this should be done in Lua as well. Its much harder for a dynamic language but the time savings should be worth the effort.

Thanks for all the feedback! Keep them coming!

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31042 reply_id: 125932[/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]

BTW, as for key features switching from textmate : what are shortcuts for block comment/uncomment, and create/navigate through bookmarks ? [import]uid: 9328 topic_id: 31042 reply_id: 125746[/import]

Hello Antheor,

Thanks for your interest!
You have 2 options

  1. you can learn the netbeans equivalent key combinations
    -Comment/Uncomment = Ctrl+Shift+C
    -Create Bookmark = Ctrl+Shift+M
    -You can Navigate bookmarks via window->Navigating->Bookmarks or you can assign key combinations to perv/next bookmark.

  2. you can create your own keyboard profile.
    -preferences (or options)-> keymap ->Manage profiles -> Create your own.

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

Hi,

how to use libraries properly in 1.7.2 ? i moved some standard files outside project to library folder but there is corona error not could not found file.

Also would be cool to have feedback / callback method to go to definition for custom classes that are not properly managed by IDE. So we could be able to go to definition, check what are fields in classes etc and then go back to place from go to definition was run.

Also would be great to have warning on locals that are initialized but never used in the code, at least in same file.

You did great job with this IDE, especially for dynamic language.

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

@Tom,

“how to use libraries properly in 1.7.2”
Currently external libraries are only used to add to the autocomplete list as well as provide extra links to the go-to declaration. We are thinking of ways of copying the library files before running the application. We could implement our own way but we are also thinking about using more standard tools like ant for this purpose.

"Also would be cool to have feedback / callback method to go to definition for custom classes that are not properly managed "
It is pretty tricky to differentiate a custom class from a table. How do you purpose to do this? At present you should be able to ctrl click on table memebers and it will take you to the declaration location.

“Also would be great to have warning on locals that are initialized but never used in the code”
Agreed. We are reworking the parser to make it more robust, once we trust it enough we can start implementing more advanced refactoring functions. What has saved us much time in our java development is a “fix imports” action. This will basically look for any Classes used by the current file and will make sure they are properly imported, we believe something like this should be done in Lua as well. Its much harder for a dynamic language but the time savings should be worth the effort.

Thanks for all the feedback! Keep them coming!

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

Hi,

Is it possible to change somewhere in the options how code is autoformatted? For some reason, there is by default no ident on the line after an open left parenthesis, so a multi line function call is formatted like this:

 myfunctioncall(  
 myargument  
 )  

Which looks a bit odd to me. Curly braces work fine, though:

 myfunctioncall{  
 myargument = myvalue  
 }  

I looked in the configuration options but could not find it.

Regards,
Christian. [import]uid: 158425 topic_id: 31042 reply_id: 126494[/import]

Hello Christian,

Thanks for the interest!
Thanks for the feature request. This is a bug in the formatter, we will fix it. There are no options yet except “python style indent” that was requested by another user. In the future we may work on a more flexible auto-formatter.

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

Hi,

Is it possible to change somewhere in the options how code is autoformatted? For some reason, there is by default no ident on the line after an open left parenthesis, so a multi line function call is formatted like this:

 myfunctioncall(  
 myargument  
 )  

Which looks a bit odd to me. Curly braces work fine, though:

 myfunctioncall{  
 myargument = myvalue  
 }  

I looked in the configuration options but could not find it.

Regards,
Christian. [import]uid: 158425 topic_id: 31042 reply_id: 126494[/import]

Hello Christian,

Thanks for the interest!
Thanks for the feature request. This is a bug in the formatter, we will fix it. There are no options yet except “python style indent” that was requested by another user. In the future we may work on a more flexible auto-formatter.

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

I will buy Lua glider this weekend as it is a great tool, though I do have an issue with it that maybe you can help me solve. Every time the program stops at a break point the variables are shown correctly, but if I step over or run to next break point the variables do not get updated? Do you have any idea why this would be?

And a feature question that many would like to see and would bring you a large customer base.
Will you add if at all possible source level on device debugging?

Regards,
Primoz [import]uid: 137090 topic_id: 31042 reply_id: 127210[/import]