language-arduino icon indicating copy to clipboard operation
language-arduino copied to clipboard

Missing switch function

Open yochem opened this issue 8 years ago • 0 comments

I think this will do:

'Switch':
  'prefix': 'switch'
  'body': """
    switch (${1:var}) {
      case ${2:label}:
        ${3://statements}
        break;
      case ${4:label}:
        ${5://statements}
        break;      
    }
  """

yochem avatar Oct 17 '17 14:10 yochem