angular-ui/AngularJS-sublime-package

Autocomplete doesn't see the rest of the code anymore

Opened this issue · 11 comments

Hi,

After installing the plugin and indexing the project, when I type, I don't have the same access I use to have to variables and functions that are already in the file.

eg:

function(){
    FlashService.clear();

    FlashService.show('User Available');
}

When I start typing the second "FlashService" I have to prompt showing anymore for autocompletion. I don't see the variables anymore too.

Have I done something wrong?

Thanks for your help

I'm not sure I completely flow what's not showing...

I've tried the above example you gave and for me, in ST 3, all seems to be well.

screenshot 2014-02-20 11 34 57

screenshot 2014-02-20 11 34 46

For me it really doesn't show anything else than angular stuff, and custom
snippets I've added to my user package

On Thu, Feb 20, 2014 at 5:36 PM, Michael Russell
notifications@github.comwrote:

I'm not sure I completely flow what's not showing...

I've tried the above example you gave and for me, in ST 3, all seems to be
well.

[image: screenshot 2014-02-20 11 34 57]https://f.cloud.github.com/assets/141903/2220390/13db8d0c-9a4d-11e3-96ec-cc4f6b7d1628.png

[image: screenshot 2014-02-20 11 34 46]https://f.cloud.github.com/assets/141903/2220391/18a847c6-9a4d-11e3-9642-5887dc884bac.png

Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-35640809
.

Like this?

screenshot 2014-02-20 11 54 39

well yes, but even after I type a few characters it completely disappears

the angular: addClass etc.. are not part of this package. That's another package called AngularJS Snippets.

My first post is what shows from this package. Rule of thumb, if doesn't have AngularJS on the right side, it's not from this package.

We can't really control what shows from your user package other than what we provide so you'll need to file a report on the AnguarJS Snippet package if those completions are what's giving you troubles.

no nono I dont have the AngularJS Snippet package.

It's really that other than the autocompletion provided by your package, I don't have access to anything else in autocompletion

Hmm... I can't seem to replicate this.

Could you provide a gist or something for me to compare against since the example you've provided doesn't cause any issues that I can see :/

Yep sure, see screenshot below. For example I started typing "se" for "sessionstorage" but only AngularJS snippets are available
screen shot 2014-02-21 at 10 34 04

just in case but i don't think it matters here's my setting files:

{
    "color_scheme": "Packages/Dayle Rees Color Schemes/sublime/darkside.tmTheme",
    "font_size": 15,
    "highlight_line": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "scroll_past_end": true,
    "word_wrap": true
}

OK, I've tried toggling AngularJS: Toggle - Disable JS Completions and now the autocompletion is back to the way it was before but I don't have access to AngularJS completion anymore :D

Thanks for the added info, I'm still not able to replicate this on my end with different projects that I have setup...

Would it be possible to get a gist of that file to see if I can replicate?