Closed lijuenc closed 9 years ago
Which autocomplete are you using?
The problem seems to be the file Syntax (changing from Javascript to Jasmine)
I'm not using any special autocomplete, just the default Sublime Text one (Ctrl+Space). And yes, this only happens in the Jasmine syntax.
Allright! I don't remember if I can tell Sublime which autocomplete to use or if I have to add a custom one for Jasmine, but I'll take a look as soon as I can.
Hello @durz, sorry for the massive delay.
I can't seem to reproduce the error, I've recorded a small gif to see if I understood correctly:
Are you still having this error? Do you have by any chance another jasmine package?
Sorry again!
Hey mate, those are the correct steps, though I found out that this was caused by the angularjs-sublime-package. I first thought it was because of this jasmine package since it was only happening in the Jasmine syntax, but it now seems like the angular package and this don't work together.
Thanks a lot for letting me know!
@durz You're right, removing AngularJS package fixes it, but what if you need them both? Have you opened and issue on their Issues page?
Edit: Found the issue ticket: https://github.com/angular-ui/AngularJS-sublime-package/issues/69
When Jasmine is used as the active syntax autocompletion always shows "No available completion" but when regular JavaScript is used as the syntax, autocompletions work as expected.
Sublime text version 3083 and sublime-jasmine installed through package control.
This happens regardless of what scope you are currently in. To get around this, I'm just using the snippets while in the JavaScript syntax.