我有以下code snippet
。我想在summary
块中插入此代码段。当我使用上下文菜单时,它正在工作,但我想通过快捷方式插入此代码段。您有什么建议我可以解决这个问题吗?
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>langword reference</Title>
<Description>Inserts a reference for keywords.</Description>
<Author>Dominic Jonas</Author>
<Shortcut>langword</Shortcut>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>Keyword</ID>
<ToolTip>Enter the desired Keyword here.</ToolTip>
<Default>null</Default>
</Literal>
</Declarations>
<Code Language="CSharp" Kind="any">
<![CDATA[<see langword="$Keyword$"/> $end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>