atom / snippets

Atom snippets package
MIT License
205 stars 100 forks source link

Ability to include snippets from separate files #215

Closed danielbayley closed 7 years ago

danielbayley commented 7 years ago

I'm not talking about including other .cson snippets files (my modular-snippets package already does that…), but simply plain text from any file type as the actual snippet content. For example:

'.source.coffee':
  snippet:
    prefix: 'prefix'
    body: 'include.coffee' # ./relative path to included file
mnquintana commented 7 years ago

Thanks for the suggestion! This looks like a duplicate of https://github.com/atom/snippets/issues/124 – feel free to subscribe there for updates.

danielbayley commented 7 years ago

This isn't a duplicate… It's a different feature. Plus I actually already implemented #124 in my own package, as mentioned above and even announced on that issue…

@mnquintana This should be reopened.