• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

atom-properties-collector

Object properties collector
ghooost
1.0.0 85
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atom-properties-collector package

Object properties collector.

Example:

Toggle the plugin ON (ctrl-alt-c), type myObject and press Enter. It will scan text at ActiveTextEditor for myObject.XXX and then insert myObject definition at cursor position.

myfile.js

//<---------this code will be generated
var myObject={
    START:"myfile.js:start",
    PASTE:"myfile.js:paste",
    STOP:"myfile.js:stop"
};
//<---------

switch(action){
  case myObject.START:
  ...
  break;
  case myObject.PASTE:
  ...
  break;
  case myObject.STOP:
  ...
  break;
}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by