Sublime text's look around auto-completion does not work
old9 opened this issue · 9 comments
Sublime Text 2.0.1 with the latest angularjs-sublime-package
Say you have some variable or any other strings in the file somewhere, and it's automatically added into the auto-completion index, so that it will listed in the auto-completion popup when you type the first few characters. this is a very handy feature but after installing this package it seems to be disabled somehow.
Any settings to change this back or am I missing anything here?
I'm not quite sure about the sample code, here is some screenshot that might show the problem in detail.
- I made a fresh install of Sublime Text 2.0.1, into a virtual machine running Windows XP, all with default settings.
- launch Sublime Text and make a new file, set the syntax to javascipt
- type
var index;and thenin, a pupup shows up withindexlisted there:
- cd into package folder in git-bash
- git clone the repository
- relaunch Sublime Text
- repeat step 3 and only angular things listed there:
- an extra step, if I make a settings change to
"disable_all_completions": trueand all back to normal as step 3
Ok sorry, I was testing the HTML side of things and couldn't replicate the issue but now I have.
It looks like an issue with ST, I'm looking into a workaround for it right now. I'll hopefully have something updated in the next 24-48hrs.
nice, works now.
The fix/hack used to resolve this issue caused another issue, so an overhaul of the JS Completions is in the works. For now, this issue is back but will be resolved once the overhaul is complete.
Is there any workaround/hack to have both auto-completions to work for now? I need ST's autocompletion more that AngularJS' for now...
@rainboxx Only real option right now would be to override the JS Completion settings, basically just copy the Default JS Completions and paste them into your Users JS Completions settings (basically like any other ST settings file). Then, remove any . of the left hand side of the arrays, that should still get you the basic completions and still allow other completions to flow through.
"I need ST's autocompletion more that AngularJS' for now" - You can also disable the JS completions completely. https://github.com/angular-ui/AngularJS-sublime-package#completion-settings
@rainboxx Just cut a 1.2.0 release that should be up on Package Control soon. Change log can be found here. https://github.com/angular-ui/AngularJS-sublime-package/blob/master/changelog/1.2.0.txt
Awesome, I'll try it soon!


