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.
Evaluate expression is always disabled and shortcut also does nothing.
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?
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
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]
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.
you can create your own keyboard profile.
-preferences (or options)-> keymap ->Manage profiles -> Create your own.
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]
“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.
“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]
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.
you can create your own keyboard profile.
-preferences (or options)-> keymap ->Manage profiles -> Create your own.
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]
“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.
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.
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.
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.
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.
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?