When using code snippets in Visual Studio that contain multiple lines the following lines will preserve the whitespace that was set in the .snippet file instead of positioning the code relative to the original cursor placement.
When using the foreach snippet you'll get code like this:
foreach (var item in collection)
{
}
Instead of:
foreach (var item in collection)
{
}
Is there a way to change this behavior? Is there a keyword that needs to be used in the .snippet file?