Switch snippet.
Merge pull request #1 from Loac/SwitchSnippet

Switch snippet.