Conditional snippet


#1

Is there a way to choose between bodies of a syntax in a snippet?. I want to develop a package for ruby and depending of a configuration choose between

  • :key => 'value'
  • key: 'value

#2

No, there is currently no mechanism for doing this in the default Atom snippets package.


#3

Is something like this on the roadmap? It’d be a really nice feature to have when creating snippet libraries