angular-ui / AngularJS-sublime-package

AngularJS code completion, snippets, go to definition, quick panel search, and more.
MIT License
1.42k stars 169 forks source link

indicization/quick panel doesn't work #53

Closed zontafil closed 10 years ago

zontafil commented 10 years ago

I've just installed the plugin in sublime 3059. with ctrl-super-l I always get indexing completed with ctrl-super-alt-l --> no indexing found for the project the quick panel is never shown

in the console there are many of these: Traceback (most recent call last): File "/usr/local/share/applications/sublime-text-3/sublimeplugin.py", line 526, in run return self.run() File "AngularJS-sublime-package in /home/m3l720/.config/sublime-text-3/Installed Packages/AngularJS.sublime-package", line 504, in run IndexError: list index out of range

I don't know if I'm doing something wrong, I'm quite new to sublime

subhaze commented 10 years ago

Thanks for the report.

Try running the command AngularJS: Rebuild Search Index

zontafil commented 10 years ago

I get "indexing completed in 0.00002 sec". If I rerun rebuild search index I always get that message.

subhaze commented 10 years ago

Hmm... I'm not able to replicate this. Also, there is a default file exclusion. It excludes the angular.js file and any file with '.min.js'.

    // file suffixes to ignore (uses string.endswith(...))
    "exclude_file_suffixes":[
        "angular.js",
        "min.js"
    ],

What OS are you using?

zontafil commented 10 years ago

yeah the ignore setting shouldn't be a problem in my case. I'm using fedora linux 20

subhaze commented 10 years ago

@m3l7 Sorry for the late response. I've still not been able to replicate this, but, the error seems to be an issue with not finding any project folders. Do you have a sublime-project setup?