Skip to content

Instantly share code, notes, and snippets.

@epmallmann
Created March 9, 2019 13:37
Show Gist options
  • Save epmallmann/54a9b55edbe1f3e55712acbb5a54e207 to your computer and use it in GitHub Desktop.
Save epmallmann/54a9b55edbe1f3e55712acbb5a54e207 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>task</Title>
<Shortcut>task</Shortcut>
<Description>Code snippet for task return</Description>
<Author>Eduardo Mallmann</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>expression</ID>
<ToolTip>Expression to evaluate</ToolTip>
<Default>true</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[Task<$selected$>$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
@epmallmann
Copy link
Author

Place to add: C:\Users<user>\Documents\Visual Studio 20XX\Code Snippets\Visual C#\My Code Snippets

How to import: https://docs.microsoft.com/en-us/visualstudio/ide/walkthrough-creating-a-code-snippet?view=vs-2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment