For atom you need to consolidate snippets after each edit.
- Move to snippets folder
- mac:
cd /.atom/
- linux:
pending
- windows:
pending
- mac:
- create snippets folder:
mkd snippets
- clone repository
git clone https://github.com/praxisnyc/code-snippets.git code-snippets
- consolidate (below)
- Install modular-snippets
- hit
command-shift-P
and chooseModular Snippets: Reload
Warning: consolidation replaces your existing snippets. If you have snippets already, save a copy of
snippets.cson
oncd /.atom/snippets/
directory
- Move to code-snippets folder
- mac:
cd /.atom/snippets/code-snippets
- linux:
pending
- windows:
pending
- mac:
git pull
- consolidate (above)
Huge thanks to node-atomizr for conversion
This is a note for internal use, disregard.
Convert from sublime to atom:
cd ~/.atom/snippets/code-snippets
atomizr "sublime/*.sublime-snippet" -o atom
then consolidate.
Convert from atom to sublime:
cd ~/.atom/snippets/code-snippets
atomizr "atom/*.cson" -o sublime2
pending: review