# Make your Favourite Text Editor as Default Editor in Corona Simulator


In the Corona Simulator, when you do File → Open Project in Editor, the code opens in Sublime or Textedit.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1599598281983/vCJg3iWLI.png)

If you want to change it to your favourite editor, you can follow these steps.

Open a corona project folder in Finder. Right click on the ‘main.lua’ file, then Choose “Get Info”.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1599598288172/og6InZhIW.png)

In the Open With, Choose your favourite editor app from the list and Click “Change All”.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1599598289727/6jzZI2uFw.png)

Thats it !

Now, When ever you click on the “Open in Editor”, it will open with your favourite editor.

NOTE : When there is a error in code, And when you choose “Edit Code”, it will take you to the right file, but not the exact line number other than Sublime Text.

My Fav : [Atom by GitHub](http://atom.io)
