How to have same snippet with different code convetion


#1

Hi guys,

do snippets reflect the fact that different programmers have different coding conventions? What if I want to create snippets and programmer just want to change if placement of bracket from same line to new line? Does he have to override the snippet in his snippet file or is there some other way?


#2

Atom doesn’t currently have a way of properly supporting coding style such as brace conventions in features such as snippets and auto-indent. This is one of the things that long-term I would love to see Atom do. See my pie-in-the-sky topic here: