atom / snippets

Atom snippets package
MIT License
205 stars 101 forks source link

Snippet dotfile request. #136

Open lee-dohm opened 9 years ago

lee-dohm commented 9 years ago

From @toddmbloom on May 13, 2015 16:48

I was just thinking that it would be nice for Atom to support a folder level snippet file, which would be used to extend the snippets.cson file in the Atom configuration directory.

A use case I could think of is if you have a team of people working on the same project and, instead of having to send around a snippets.cson, every time it's modified, you could just simply check it into version control and Atom could read it in cascading order:

<uses ~/.atom/snippets.cson
---- <.snippets(?) file found, import>

I'm not sure if this makes sense but it was just something I was kicking around today.

Copied from original issue: atom/atom#6768

a-b-r-o-w-n commented 9 years ago

+1

slashdotdash commented 4 years ago

The Modular Snippets package supports project level snippets (e.g. .snippets.cson or snippets/example.cson).