From The Blog: Featured tool: Corona Plugin for Xcode

Many Corona developers — especially those who don’t use Corona Enterprise — tend to view Apple’s Xcode as daunting, overwhelming, and perhaps even a bit scary. However, for iOS/macOS, Xcode is an essential development tool that works alongside Corona’s core (even if you never use the Xcode application, Corona is using it!).

For those who do use Xcode, even just for the simplicity of using its “Devices” window to install Corona-built apps onto your devices, you may be interested in the powerful Corona Plugin for Xcode by Jacob Nielsen.

Corona Plugin for Xcode

The Corona Plugin for Xcode adds a vast array of new features to Xcode, turning it into an easy-to-use, smooth, and efficient editor for Corona projects. With this plugin, you get these features and more:

  • Edit your pure Lua-based Corona projects directly inside Xcode — no “native” coding or development experience required!
  • Syntax highlighting for Corona/Lua.
  • Auto-completion library calls, keywords, constants, etc.
  • Corona API documentation look-up from selected text.
  • Snippets declarations, loops, conditions, etc.
  • Corona project and file templates built into Xcode.
  • Custom behaviors and keybinding set for Corona.

Plays well with Enterprise too!

This plugin is also a great addition if you are working with Corona Enterprise. In this case, you will achieve an excellent workflow by being able to do both Corona/Lua code and native code side-by-side in Xcode.

Affordable and optimal

The Corona Plugin for Xcode is available for $19.00 in the Corona Marketplace, making it an affordable alternative to higher-priced IDEs — and if you’re a Corona developer using macOS, you already have Xcode (it’s free).

Atop the features listed above, this plugin can simplify your development environment by letting you use one application for editing Corona code, installing/updating apps on devices, and letting you view device-specific debugging output in the Xcode “Devices” window.

Check out the Corona Plugin for Xcode and see how easy Xcode can be!

View the full article

1 Like

Purchased, download and am trying to install this, but when I open the .dmg, nothing happens… I don’t get the installation screen…  

Nevermind – for some reason it was mounting the DMG but not opening anything.  I’m able to go to the mount and run the installer. :slight_smile:

This sounds/looks great will defiantly check it out in the near future.

I have to say, great job on the video, based upon that alone I Purchased this plugin and I look forward to using it!

I guess debugging isn’t possible?

No I didn’t manage to implement the debugger yet.
I am planning on investigating the possibilities when I find the time for it.
I guess it should be possible.

(edit: a Corona debugger was added in version 1.5)

Will I be able to install this plugin on all the Macs that I own with a single purchase? And also receive all future updates? Thanks.

Interesting. After five years I still haven’t found an IDE I like for Corona, still using an old one called IndeED because I can’t find one that does the basics as well.

When using MonoDevelop for Unity is a comparative pleasure you know there’s a definite gap in the market…

Does xCode support a list of functions docked to the right side?

@Falcon777

It is a single-user license but you can install the plugin on all the Macs you use.

All future updates are included, but I will preserve the right to raise the price if I do a major update - so this will not affect people who already bought the plugin :wink:

Regarding updates: since this is a dmg installer the plugin will not update automatically like other plugins in the marketplace.

You will have to manually download the update and install it over the previous version. I will post update news here, so please follow this thread to get notified when an update is available.

I am not sure what you mean. I never used MonoDevelop. Do you mean a list of the functions you defined in your code?

Yep, just a simple list of the functions in that file, that you can click on to go straight there. You’d be amazed how many IDEs don’t have this, or if they do, won’t let you move it where you want, or don’t see functions defined by scene:create or m.create.

I’m set in my ways, I need the project file tree on the left, full function list on the right and console log underneath :slight_smile:

Yes it has a function navigator. I use it all the time.

It is not located in the right side though.

still.jpg

You can find it by clicking at the selection part under the popup showing on the still above. The shortcut for the popup is  ctrl 6. You can use the arrow keys to select a function and hit enter to navigate to it. I prefer not to touch the mouse at all when programming… so it fits my ways :slight_smile:

Thanks - unfortunately I need a persistent list in the exact place I expect it. Not a fan of keyboard shortcuts either :frowning:

In that case I guess you are stuck with what you’ve got… good luck :)

[quote name=“ojnab” post=“357684” timestamp=“1495024341”]@Falcon777   It is a single-user license but you can install the plugin on all the Macs you use.   All future updates are included, but I will preserve the right to raise the price if I do a major update - so this will not affect people who already bought the plugin :wink:   Regarding updates: since this is a dmg installer the plugin will not update automatically like other plugins in the marketplace.   You will have to manually download the update and install it over the previous version. I will post update news here, so please follow this thread to get notified when an update is available.[/quote] Noted. Thanks!

Great Plugin, I just purchased and installed and using it for my existing projects. Same like an Swift project to me. :slight_smile: Will explore it more.

Regards,
Usman Mughal

Please notice that the Corona Plugin for Xcode has been updated to v.1.3.

Since it is a dmg installer the plugin will not update automatically like other plugins in the marketplace.

You will have to manually download the update and install it over the previous version.

 

The update contains a couple of fixes: 

  1. A bug in the “Import Corona Project” behavior script making it unable to import projects with spaces in path/project folder names.

  2. A workaround for a lua filetype(uti) hijack done by Textwrangler/BBEdit if one of these were installed on the system before the plugin. (Resulting in Xcode not being able to automatically recognise and syntax highlight lua files.)

 

Thanks to Graham Scott for reporting these issues and helping me test the fixes.

OK, I have to confess that I just discovered this  :smiley:  and boy does it make navigation faster in Xcode.

As a FYI, I just installed the plugin on another of my Macs and it worked flawlessly and that one has had a lot of stuff installed previously! 

I’m less concerned right now about the debugger, as I don’t use it :).  I’m a larger user of either ‘print(x)’ or my own debug function. Not saying thats a better way, but thats how I’ve managed it with Sublime and everything.

I’ll continue using the Xcode plugin as my primary IDE and I’ll let you know if any other issues crop up or ideas for that matter :slight_smile:

Great to hear and thanks again for your reports and help!

I don’t really use the debugger either but I have had a lot of requests for it so now I am looking at the possibilities to implement it.