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

I'm getting an error #56

Closed justinmoon closed 10 years ago

justinmoon commented 10 years ago

Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 358, in on_query_completions res = callback.on_query_completions(v, prefix, locations) File "/Users/Justin/Library/Application Support/Sublime Text 3/Packages/AngularJS/AngularJS-sublime-package.py", line 373, in on_query_completions view.score_selector(_scope, ng.settings.get('js_scope')) File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 715, in score_selector return sublime_api.view_score_selector(self.view_id, pt, selector) TypeError: String required

I think i followed the installation directions exactly and both tried installing with the package manager and by cloning the repo. This recurs whenever I try to edit a javascript file.

justinmoon commented 10 years ago

I don't think that line 27 in angularJS-sublime-package.py is working:

    self.settings = sublime.load_settings('AngularJS-sublime-package.sublime-settings')

ng.settings is getting set to None.

justinmoon commented 10 years ago

used package control to delete and reinstalled -- which worked