VS Code corona sdk snippets

Hi Guys,

I’m quite new to corona and have been playing with it for a couple of days now. I’m really excited by it and am really enjoying learning it.

One thing that has been a bit off though is that I like to use vs code but the corona support for vs code is minimal.

I created a snippet file for vscode which you can find at https://gist.github.com/mika76/18fc5bc2e0e46c44938dfe2292e30f49 using the Atom plugin data (I hope it’s up to date) so if anybody needs it, feel free to use it. I find it really helpful seeing the signaturs without having to visit the docs every 2 seconds  :slight_smile:

Cheers,

Mladen

vscode == Visual Studio?  Which version, and what release?

I used to use Visual Studio to edit, but eventually moved to Sublime.

Your best choices (obviously my opinion) are: Sublime (not free; worth buying) and Atom (free).

Note: I know that IDEs are nice, but I am a little against them too.  I feel like they slow down real learning.  Just my opinion.

That said, although I have used Corona for years, I use the API guide many times a day and I do not use an IDE helper.

The API guide here (on site) is awesome: https://docs.coronalabs.com/api/

Thanks @roaminggamer

Visual Studio Code is a part of the visual studio family but is not an IDE really, it’s pretty much what Atom and Sublime are (closer to Atom) - a javascript powered power-text-editor. This is not for any specific version since it’s just a snippet json file for each user to import by themselves.

These are really just snippets to help with typing out the commands. They mostly provide the arguments needed and a little description - the API docs will never be able to be replaced of course, but sometimes it’s helpful to get a list of what’s available or just the proper way to spell something (for us non-english people)

Oh and you’re right, Corona’s API docs ARE awesome!

Hi,

I dropped Sublime and Atom awhile ago, VSCode is awesome (a more stable Atom). I too just have a window open to the Corona docs while developing.

But good job on porting the snippets.  :wink:

-dev

@develephant, I tried VSCode a few years ago and liked it but gave Atom a slight edge. But hearing how you have fully adopted it I may have to look at it with fresh eyes. I like Atom a lot, but it can be a bit glitchy from time to time.

Hi,

Code editors are of course a matter of preference, but I’ve really grown to love VSCode. It has matured over time.

-dev

I decided to give VC a go for the first time today (and I’m really liking it so far), and then saw this thread.  I’ve followed the instructions but can’t seem to get it to work.  Is there something I have to do to enable snippets?

[edit]

OK, ignore that.  Just realised I had everything inside an extra pair of brackets which was screwing things up. DOH!

Liking this a lot :slight_smile:

vscode == Visual Studio?  Which version, and what release?

I used to use Visual Studio to edit, but eventually moved to Sublime.

Your best choices (obviously my opinion) are: Sublime (not free; worth buying) and Atom (free).

Note: I know that IDEs are nice, but I am a little against them too.  I feel like they slow down real learning.  Just my opinion.

That said, although I have used Corona for years, I use the API guide many times a day and I do not use an IDE helper.

The API guide here (on site) is awesome: https://docs.coronalabs.com/api/

Thanks @roaminggamer

Visual Studio Code is a part of the visual studio family but is not an IDE really, it’s pretty much what Atom and Sublime are (closer to Atom) - a javascript powered power-text-editor. This is not for any specific version since it’s just a snippet json file for each user to import by themselves.

These are really just snippets to help with typing out the commands. They mostly provide the arguments needed and a little description - the API docs will never be able to be replaced of course, but sometimes it’s helpful to get a list of what’s available or just the proper way to spell something (for us non-english people)

Oh and you’re right, Corona’s API docs ARE awesome!

Hi,

I dropped Sublime and Atom awhile ago, VSCode is awesome (a more stable Atom). I too just have a window open to the Corona docs while developing.

But good job on porting the snippets.  :wink:

-dev

@develephant, I tried VSCode a few years ago and liked it but gave Atom a slight edge. But hearing how you have fully adopted it I may have to look at it with fresh eyes. I like Atom a lot, but it can be a bit glitchy from time to time.

Hi,

Code editors are of course a matter of preference, but I’ve really grown to love VSCode. It has matured over time.

-dev

I decided to give VC a go for the first time today (and I’m really liking it so far), and then saw this thread.  I’ve followed the instructions but can’t seem to get it to work.  Is there something I have to do to enable snippets?

[edit]

OK, ignore that.  Just realised I had everything inside an extra pair of brackets which was screwing things up. DOH!

Liking this a lot :slight_smile: