coronalabs / CoronaSDK-SublimeText

Corona Editor is the official Corona SDK plugin for Sublime Text
https://coronalabs.com
MIT License
108 stars 28 forks source link

GoTo Symbol not getting functions defined inside tables (Sublime 3) #21

Closed renatosc closed 8 years ago

renatosc commented 8 years ago

I have been using Corona Editor on Sublime 2 for a while without problem. I just moved to Sublime 3 and I noticed that the Goto Symbo (CMD+R) is not listing functions defined inside a tablet (e.g: server.login = function() ... end). On Sublime 2 it was working fine.

renatosc commented 8 years ago

I found the issue. ST3 was opening my Corona lua files using "Lua" syntax instead of "Corona SDK Lua". I forced ST3 to open all .lua files using "Corona SDK Lua" syntax and the Goto Symbol now is working fine again.