If you insert the same snippet after a couple of tabs the snippet won't maintain it's tab structure. The first switch block below is correct as it has been inserted at the first column. It is exactly the same as the original snippet template (no indentation applied).
switch ()
{
case :
break;
default:
break;
}
The next snippet is inserted after two tabs but the tab structure is incorrect - only the first line is indented. The snippet has just been pasted with the same tabs it had in the original template (no indentation applied). This is awkward as most code has some level of indentation.
switch ()
{
case :
break;
default:
break;
}
With the change wxLearner has suggested the existing indentation level is automatically applied to the whole snippet so the block will match it's surrounding code.
switch ()
{
case :
break;
default:
break;
}