Why my custom snippets don't work?


I write these in snippet.cson:

  'if, else if, else':
    'prefix': 'ieie'
    'body': 'A'
    'prefix': 'second'
    'body': 'aa'
    'prefix': 'third'
    'body': 'bb'

only ieie can work when press tab it pop up A,others not work like what I write.
Pls help me.


CSON is an indentation-sensitive language. Because second and third are not at the same indentation level as if, else if, else, the snippets system doesn’t include them as snippets for JavaScript.