Created
March 5, 2012 07:16
-
-
Save lcaballero/1977183 to your computer and use it in GitHub Desktop.
Visual Studio snippet xml that expands and surrounds for a console.xxx( | ) call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<!-- JS console Snippet --> | |
<Header> | |
<Title>console</Title> | |
<Author>Lucas Caballero</Author> | |
<Shortcut>console</Shortcut> | |
<Description>Markup snippet for console</Description> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
<SnippetType>SurroundsWith</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>debug</ID> | |
<ToolTip>One of: log, info, dir, etc.</ToolTip> | |
<Default>log</Default> | |
</Literal> | |
<Literal> | |
<ID>selected</ID> | |
<ToolTip>content</ToolTip> | |
<Default>content</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="jscript"><![CDATA[console.$debug$( $selected$$end$ )]]></Code> | |
</Snippet> | |
</CodeSnippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment