Sumant
Sumant

Reputation: 276

Atom snippets package not working

I created Atom snippets package https://atom.io/packages/angular2-snippets-atom however I think its not working. What is wrong?

My snippets work if I add them in through > open your snippets and paste in snippets.cson

Upvotes: 2

Views: 410

Answers (1)

Matthew Hinea
Matthew Hinea

Reputation: 1931

It looks like you fixed it with this push. You had a reference to a main file that didn't exist, and an activationCommand that called a method that didn't exist.

Methods called by activationCommands should exist on the object exported by file specified by main. In this case you had neither so it was failing.

Upvotes: 1

Related Questions