Posted 19 years ago
by Devin Grant
- Novi
The code below doesn't select each select when the user hits the tab button (i.e. $caption$, $button$, and $text$).
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Dialog</Title>
<Shortcut>dlg</Shortcut>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>caption</ID>
<Default>*Error*</Default>
</Literal>
<Literal>
<ID>button</ID>
<Default>Ok</Default>
</Literal>
<Literal>
<ID>text</ID>
<Default>*</Default>
</Literal>
</Declarations>
<Code Language="XML">
<![CDATA[<actions ignore="true">
<caption>$caption$</caption>
<button>$button$</button>
<text>$text$</text>
<tag/>
</actions>]]>...