Atom not connecting to my Corona Simulator

Hi there,

I’m new to all of this coding and I downloaded Atom text editor and also downloaded Corona Labs but they don’t seem to be linking as no matter how many codes I try doing nothing seems to be changing on my screen and could really do with some help.

I’ve got Lua Language and Corona Autocomplete and I’m using Atom but there is no progress being made as the iPhone that appears on my screen remains blank.

When you create a new project with Corona, (either through the Corona simulator’s interface or by hand), you end up with an operating system folder where these files are stored.

If you use your text editor (Atom in your case) opens the main.lua (and other lua files) in that folder, and you tell Corona to use the same folder, when you save your text in the editor the simulator should update with the changes.

This is assuming there are no errors. There is a second Corona window that opens behind the simulator that we call the Corona console log window. It will have diagnostic messages (errors and warnings generated by the simulator, output of your own “print” statements).

Rob

On macOS I’m using the Atom build package with a .atom-builld.json file, like suggested here: https://coronalabs.com/blog/2016/01/22/corona-autocomplete-package-now-available-for-atom-editor/. Works like a charm.

On Windows, I tried the same setup but haven’t managed to get Atom to find the Corona simulator exe due to problems with spaces in the path. So I’m still using ZeroBrane Studio, which is pretty ok but I’d prefer to use Atom on Windows too…

When you create a new project with Corona, (either through the Corona simulator’s interface or by hand), you end up with an operating system folder where these files are stored.

If you use your text editor (Atom in your case) opens the main.lua (and other lua files) in that folder, and you tell Corona to use the same folder, when you save your text in the editor the simulator should update with the changes.

This is assuming there are no errors. There is a second Corona window that opens behind the simulator that we call the Corona console log window. It will have diagnostic messages (errors and warnings generated by the simulator, output of your own “print” statements).

Rob

On macOS I’m using the Atom build package with a .atom-builld.json file, like suggested here: https://coronalabs.com/blog/2016/01/22/corona-autocomplete-package-now-available-for-atom-editor/. Works like a charm.

On Windows, I tried the same setup but haven’t managed to get Atom to find the Corona simulator exe due to problems with spaces in the path. So I’m still using ZeroBrane Studio, which is pretty ok but I’d prefer to use Atom on Windows too…