Upgraded Corona Bundle for Sublime Text

Hi everyone,

I’m Gianmichele, a professional animator during the day with a passion for programming (usually at night).

First of all I’d love to thank Coronalabs for the excellent work made on Corona. It is really a joy to work with!

Being just a Starter user for now (but I hope to upgrade soon), I’ve decided to give back to the community by creating an up to date package for Sublime Text.

The package can be found here:

goo.gl/XVGdSY

It contains all of the APIs from the latest public release (2013.1202) and I’ll keep it up to date as this is what I use everyday.

Please feel free to make any suggestion to improve it (I’ll add them to my todo list).

*** UPDATE 1 ***

  • Added a few snippets. These are triggered with the __ (double underscore) prefix

  • Started adding tab completion for function options

Cool, I’ve just installed it. 

I had another package installed which only contained some of the API code, was really annoying when one commonly used API call (like display.newGroup) isn’t included but an obscure one was.

Thank you  :slight_smile:

Check also Jesse Warden’s ‘Installing Sublime Text 2 for Corona’ on youtube :smiley:

That’s what I had to do to remind myself.  

For anyone who has the package manager installed already, here’s how I installed gianmichele’s Corona package: 

Thanks for that mate, very helpful. I while ago I followed some instructions to get the corona textmate package working in sublime, does anyone know if that will interfere with this new package? Do I have to disable that old one first?

Thanks for the package instructions. I usually just copy the files in the appropriate directory :smiley:

For anyone who had another bundle installed, there might be some problems due to the fact that the bundle normally targets source.lua files. So if you have for example Love2D API installed you’ll see completions for both.

Hope this helps

Gian

Update update update, please refer to first post for info :smiley:

Thk you so much for the work. I’m eager to test it, but thank you anyway :slight_smile:

The installation via package installer is done.

When trying ctrl B on windows I have the following error :

[WinError 2] Le fichier spécifié est introuvable

[cmd: [’/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator’, ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Sample Code\Graphics\Flashlight’]]

[dir: C:\Program Files (x86)\Corona Labs\Corona SDK\Sample Code\Graphics\Flashlight]

Could you help ?

Maybe I could edit the CoronaSDK.sublime-build file ?

Ok noted. I need to add the proper path for windows (I’m on mac sorry). Will post an update soon

Thank you for this, I have been using Sublime Text 2 for various Corona projects and this really helps a lot.

I’ve added the correct path for Windows build, though it’s untested as I don’t have a windows machine.

Please report any problem.

does not seem to work …

I tried package/install again, getting two coronasdk builds, but none of them work.

Did you get any error message from Sublime? Also do you have the full path to where Corona is installed? 

Not having a windows machine I had to rely on information found on the internet.

Cool, I’ve just installed it. 

I had another package installed which only contained some of the API code, was really annoying when one commonly used API call (like display.newGroup) isn’t included but an obscure one was.

Thank you  :slight_smile:

Check also Jesse Warden’s ‘Installing Sublime Text 2 for Corona’ on youtube :smiley:

That’s what I had to do to remind myself.  

For anyone who has the package manager installed already, here’s how I installed gianmichele’s Corona package: 

Thanks for that mate, very helpful. I while ago I followed some instructions to get the corona textmate package working in sublime, does anyone know if that will interfere with this new package? Do I have to disable that old one first?

Thanks for the package instructions. I usually just copy the files in the appropriate directory :smiley:

For anyone who had another bundle installed, there might be some problems due to the fact that the bundle normally targets source.lua files. So if you have for example Love2D API installed you’ll see completions for both.

Hope this helps

Gian

I have the following message :

"

[WinError 2] Le fichier spécifié est introuvable

[cmd: [‘C:\Program Files\Corona Labs\Corona SDK\Corona Simulator.exe’, ‘K:\***’]]

[dir: K:***]

[path: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared]

[Finished]

"

Corona is in the defaut path on windows : 

C:\Program Files (x86)\Corona Labs\Corona SDK