IntelliJ or any other IDE?

I use Visual Studio Code. Love it.

@roygon, @ToolBoxSystems, make sure to check the Tips-and-tricks page (https://studio.zerobrane.com/doc-tips-and-tricks) as it lists many small, but useful features that may be otherwise difficult to find. Paul.

Thanks Paul, I will make sure to do that.

@roygon glad to know you are getting on well with ZBS too. I did try Lua Glider as it looked decent but I don’t think it’s being actively maintained any more tbh. Also,the latest version refused to launch on my Mac, although I just re-downlaoded it and it was OK. Anyway, I will stick with ZBS.

Regards,

Narinder.

Atom - best of the best  :wink:

https://coronalabs.com/blog/2016/01/22/corona-autocomplete-package-now-available-for-atom-editor/

Been a while since this thread was updated but I wanted to add another new IDE option for consideration - although this option is only viable for devs using a Mac as it’s the Corona Plugin for Xcode:

https://marketplace.coronalabs.com/asset/corona-plugin-for-xcode

The latest version has had debugger integration added. It’s a modest $19 to purchase but that is great value IMO as it gives you access to a lot of the power of Xcode, although that in itself can be a bit daunting for novice developers! Anyway, certainly a very worthy addition to the list of Corona IDE options.

Regards,

Narinder.

@ToolBoxSystems. Great to hear you like it. Let me know if you have any issues or feature requests. 

Thanks, Jacob

Jacob,

Hi. Well, as I finally start my adventures in Corona and Lua, I just discovered my first small issue!

The single-line comment shortcut Command + / is inserting “//” as the comment delimiter when for Lua it should be “–”. When I poke into the plugin I can see in the CoronaSDK.xclangspec file that it seems the comment single/multi-line delimiters are specified but something is not right somewhere? Any thoughts?

EDIT

I also found that auto-indentation doesn’t seem to quite work as expected, e.g. when nesting 2 ‘if’ statements then second one does not auto-indent and the matching ‘end’ statements do not outdent as one would expect. I can select the code block and hit Control + I to force the indentation to be applied so it seems that the Lua code syntax is detected.

Regards,

Narinder.

@Narinder, thank you for your feedback.

I didn’t figure out how to change this yet. I don’t think the comment delimiter is defined in the xclangspec file. I don’t use this shortcut myself so I forgot to investigate it further. I will take another look at it when I get the time. 

Indentation has a couple of quirks. Make sure to turn off “Automaticlly indent based on syntax” in Preferences > Text Editing > Indentation when working with Lua code.

OK thanks for the reply. I did already try to see if there was any change on the indentation beviour with that option on and off but it seemed to have to effect either way. It would be a really great enhancement if indentation “just worked” as expected but for now I can use the manual Control + I option every so often.

Regards,

Narinder.

using notepad++ with autocomplete (lua language selected) it is my partner from day one. tried sublime text, it seams more powerful but i got used to notepad++…the speed of producing code is just limited by my capability of thinking. before notepad++ i used notepad on old days of C and on Unix machines, VI editor, so notepad++ is kinda a “huge” improvement from them. tried IntelliJ for corona, uninstalled same day.

Loved Glider, but moved on to ZeroBrane.

Get ZeroBrane, the best Lua IDE there is.

One feature every developer should use is Analyze (under the Project menu). I’ve seen too many bugs from other people’s source files that would have been caught with this feature alone.

Download the executable from the original site, then update to the latest from Github:

https://github.com/pkulchenko/ZeroBraneStudio

i tried using ZeroBrane, but it don’t have double tap like notepad++, to select all the variables of that name on the document. i use it alot. The coloring on notepad help me more to identify what i want also. the only think i liked about ZeroBrane is the Analyze. i will use it when i finish my code to detect any error i missed myself. thanks for the tip.

I’m usingText Sublime 3 with Corona Editor plugin.

You can do pretty anything in ZeroBrane because it is written in Lua and you can access the IDE internals.

To select all variables, simply hold the Command key and double-click on the variable. Then you can start typing to make changes to all the instances of that variable name.

You can also change highlighting colors and make further modifications in settings.

Control (Windows) or Command (Mac) and double-click will highlight all instances of a variable.

You can also highlight a variable and use the “Find In Files” command to get a list in the search window below your code window.  Double-clicking on it in that window will take you to it in your code.

–john

@carloscosta, as @schizoid2k and @qwidave already suggested, you can use Control/Cmd with double click to select instances of a variable (this selection is scope-aware and will only select instances of the same variable even if there may be a variable with the same name in a different block), but there are also plugins that extend core functionality in different ways. For example, HighlighSelected (https://github.com/pkulchenko/ZeroBranePackage/blob/master/highlightselected.lua) auto-selects all instances of a selected word, DocumentMap (https://github.com/pkulchenko/ZeroBranePackage/blob/master/documentmap.lua) shows minimap of the document, AnalyzeAll (https://github.com/pkulchenko/ZeroBranePackage/blob/master/analyzeall.lua) that does analysis for all files in the project, and many others in the repository (https://github.com/pkulchenko/ZeroBranePackage). Paul.

There is a feature request to add Corona support to Intellij. http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/11438721–plugin-intellij-support

You can always vote this up. This is a great thing for someone who knows Intellij to provide this feature.

Rob

I use intellij with the Lua plugin.

Thanks, @schizoid2k, @qwidave and @paulclinger. I will give ZeroBrane another shot.