<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>trycatchex</Title>
<Shortcut>trycatchex</Shortcut>
<Description>Code snippet for try catch</Description>
<Author>Microsoft Corporation</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>expression</ID>
<ToolTip>Exception type</ToolTip>
<Function>SimpleTypeName(global::System.Exception)</Function>
</Literal>
</Declarations>
<Code Language="VB">
<![CDATA[Try
catch ex As Exception
End Try
End Sub]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
http://social.msdn.microsoft.com/Forums/vstudio/en-US/41b314d4-b448-4eea-be92-c5e29b963ee8/multiline-code-snippet-inserts-extra-blank-line- at-end? forum = visualstudiogeneral –
Đó là hành vi mặc định mà tôi nghĩ. –