Code snippets Package


#1

So basically, I was wondering if there was a feature where I could create a snippet of let’s say CSS code and save it for later use and be accessed by something like “{}btn1” or something like that. So let’s say I created a nice button that I liked and instead of copying the code from project to project, I could have a code library that would have that specific button in there and it would be accessible in all of my projects by simply putting “{}btn1” and pressing a Tab - similar to what Emmet does.


#2

There is the built-in snippets package. You can find documentation for it in the README there or in the Atom Flight Manual under Snippets.