Comments (8)
I'll look into this later today, thanks for the report.
from angularjs-sublime-package.
Just cut a new release that should get picked up by Package Controller later on today. I wasn't able to duplicate your issue but I made some code adjustments that hopefully resolve this.
from angularjs-sublime-package.
@subhaze I have updated the plugin but it still not working. There is still have a problem when enabling the plugin (disable is okay now).
Traceback (most recent call last):
File "./sublime_plugin.py", line 62, in reload_plugin
File "./AngularJS-sublime-package.py", line 383, in <module>
ng.init(isST2=True)
File "./AngularJS-sublime-package.py", line 25, in init
self.process_attributes()
File "./AngularJS-sublime-package.py", line 359, in process_attributes
for attr in self.settings_completions.get('core_attribute_list'):
TypeError: 'NoneType' object is not iterable
from angularjs-sublime-package.
OK, it looks like I need to add some default values to return. Have you been changing values in the settings file? If so can you paste the settings you have?
Thanks.
from angularjs-sublime-package.
@subhaze no, I haven't. I still use the default values.
from angularjs-sublime-package.
@rwinzcyruz
I've setup a VM with ubuntu 12.04 with sublime text 2.0.2 and cannot replicate this issue.
Can you elaborate on what you mean by "I got this error when trying to enable/disable the plugins."
from angularjs-sublime-package.
@subhaze when the first time I install this plugin, the auto-completion of core AngularJS directives is not working. That is why I try to disable and enable the plugin again to see if there has any error. I also have set the syntax to HTML (Angular.js) for HTML file that I am working on.
Note: javascript completion is working on my case.
from angularjs-sublime-package.
@rwinzcyruz I'm sorry but I am unable to replicate this behavior without tweaking the settings file, I've setup ubuntu 12.04, installed the latest Sublime Text 2 (2.0.2), install Package Control, installed the AngularJS plugin, and it worked fine out of the box. The only time I was able to replicate this issue
Traceback (most recent call last):
File "./sublime_plugin.py", line 62, in reload_plugin
File "./AngularJS-sublime-package.py", line 383, in <module>
ng.init(isST2=True)
File "./AngularJS-sublime-package.py", line 25, in init
self.process_attributes()
File "./AngularJS-sublime-package.py", line 359, in process_attributes
for attr in self.settings_completions.get('core_attribute_list'):
TypeError: 'NoneType' object is not iterable
Was by editing the 'Completions - Default' settings file AngularJS-completions.sublime-settings
and removing the core_attribute_list
property from that file.
from angularjs-sublime-package.
Related Issues (20)
- AngularJS 1.3 support
- [Feature Req] Extend Scope support. HOT 2
- Angular Versioning HOT 1
- 1.2.1 Completion Issue HOT 3
- No License HOT 1
- Not working $http HOT 2
- Automated building completions based on NG comment blocks in source HOT 2
- Disabling automatic code folding HOT 1
- disable angularjs autocomplete in excluded file
- auto completing is up everywhere. HOT 2
- using ng-annotate?
- Jade is not supported by AngularJS-sublime-package HOT 2
- Normal code completion breaks after installing AngularJS package HOT 2
- Can we enable this plugin for jsp file? HOT 1
- Auto Complete Fail w/ JavaScript Next plugin
- Arguments of the function inside the controller and the control parameters should have a delimiter between them. HOT 1
- Autocompletion triggers on all semi-colons in the php scope HOT 2
- Ctrl+Space not working
- JS Completions are not working except Global Context
- When change HTML(AngularJS) syntax, then error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angularjs-sublime-package.