snippets icon indicating copy to clipboard operation
snippets copied to clipboard

Snippet dotfile request.

Open lee-dohm opened this issue 10 years ago • 2 comments

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

lee-dohm avatar May 14 '15 01:05 lee-dohm

+1

a-b-r-o-w-n avatar Sep 16 '15 23:09 a-b-r-o-w-n

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

slashdotdash avatar Feb 25 '20 11:02 slashdotdash