C# 具有选定行的代码段插入不需要的新行

C# 具有选定行的代码段插入不需要的新行,c#,visual-studio-2015,code-snippets,C#,Visual Studio 2015,Code Snippets,如果我使用tripple选择一行,请单击,然后选择一个片段,如默认的#区域片段 #region $name$ $selected$ $end$ #endregion 然后,在我选择的文本和#endregion之间出现了一个意外的额外行,将代码段替换为 #region $name$ $selected$#endregion $end$ 处理意外的额外行,似乎适用于整行和其他选定文本

如果我使用tripple选择一行,请单击,然后选择一个片段,如默认的#区域片段

#region $name$
    $selected$ $end$
#endregion

然后,在我选择的文本和
#endregion
之间出现了一个意外的额外行,将代码段替换为

#region $name$
$selected$#endregion $end$
处理意外的额外行,似乎适用于整行和其他选定文本