Coder Social home page Coder Social logo

Comments (8)

subhaze avatar subhaze commented on August 20, 2024

I'll look into this later today, thanks for the report.

from angularjs-sublime-package.

subhaze avatar subhaze commented on August 20, 2024

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.

rwinzhang avatar rwinzhang commented on August 20, 2024

@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.

subhaze avatar subhaze commented on August 20, 2024

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.

rwinzhang avatar rwinzhang commented on August 20, 2024

@subhaze no, I haven't. I still use the default values.

from angularjs-sublime-package.

subhaze avatar subhaze commented on August 20, 2024

@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.

rwinzhang avatar rwinzhang commented on August 20, 2024

@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.

subhaze avatar subhaze commented on August 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.