I am new to Sublime Text but I like it, and I am trying to use Corona Editor.
Is it possible to configure Sublime Text in such a way that it was opening Lua files with Corona SDK Lua syntax highlighting by default?
Thanks,
Alex
I am new to Sublime Text but I like it, and I am trying to use Corona Editor.
Is it possible to configure Sublime Text in such a way that it was opening Lua files with Corona SDK Lua syntax highlighting by default?
Thanks,
Alex
Found it myself, and it’s very easy:
View \> Syntax \> Open all with current extension as...
I wish it was mentioned in Get started - I would not waste my time looking for the answer then.
Nice find!
The README.md does mention it:
You will probably also want to change \*\*\*Sublime Text\*\*\*'s default for .lua files by choosing \*\*View \> Syntax \> Open all with current extension as... \> Corona SDK Lua\*\* when you have a .lua file open in the editor.
I’ll see if I can make it more obvious.
Found it myself, and it’s very easy:
View \> Syntax \> Open all with current extension as...
I wish it was mentioned in Get started - I would not waste my time looking for the answer then.
Nice find!
The README.md does mention it:
You will probably also want to change \*\*\*Sublime Text\*\*\*'s default for .lua files by choosing \*\*View \> Syntax \> Open all with current extension as... \> Corona SDK Lua\*\* when you have a .lua file open in the editor.
I’ll see if I can make it more obvious.