Sublime Solar2D Autocompletion removes code before the separator

Hey, I’m just getting started with Solar2D, installed Sublime with the Solar2D/CoronaSDK-SublimeText extension from CoronaLabs on my MacBook.

Unfortunately I have the problem that the autocomplete function just removes the code before the separator.

For example I write:

composer.

Then get the autocomplete like:

composer. > composer.stage
          > composer.goToScene()
          > composer.isDebug
          > ...

if I for example select “composer.goToScene()” my line looks like

gotoScene( sceneName [, options] )

But I would actually expect the line to look like this

composer.gotoScene( sceneName [, options] )

Is it just a mistake of mine and it should be exactly the way it is?
Or do I have a wrong setting or a bug somewhere?

Thanks for your help!

1 Like

it happens with me in some commands, and other some it just doesn’t happen, I really don’t know why, I believe it is a problem with sublime

1 Like

I don’t rely on auto-complete too much so it never bothered me enough to post about it, but yeah, it does happen to me as well on Windows, at least with the display.* API. Probably a bug.

1 Like

Can you create an issue on GitHub about this?

1 Like