I’m not exactly sure where the problem lies, though I was able to resolve it.
As a new user, I think the
~/.atom/snippets.cson file didn’t exist. When I selected
Edit->Snippets... and created a valid snippet and saved the file, it still wouldn’t work. I looked at the documentation and it said that it would work as soon as I saved my new snippet.
I restarted Atom and the snippet started working, and adding new ones and saving the cson file worked as well without restarting Atom again.
This is one of the following:
- Documentation should mention to quit/restart after creating your first snippets
- Bug in Atom for not seeing that a
snippets.csonfile has been created and reload it
- Bug in new user’s dotfile creation for not creating the
snippets.csonfile out of the gate.