Skip to content

Instantly share code, notes, and snippets.

@M-Zuber
Created February 17, 2019 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save M-Zuber/1dc70fa3b23d4cb888a9e89b3e929561 to your computer and use it in GitHub Desktop.
Save M-Zuber/1dc70fa3b23d4cb888a9e89b3e929561 to your computer and use it in GitHub Desktop.
VS Snippet to insert cheer messages during a live stream
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>cheer</Title>
<Shortcut>cheer</Shortcut>
<Description>Code snippet for cheers during a live stream</Description>
<Author>Mordechai Zuber</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>amount</ID>
<ToolTip>Replace with the amount cheered</ToolTip>
<Default>amount</Default>
</Literal>
<Literal>
<ID>name</ID>
<ToolTip>Replace with the username</ToolTip>
<Default>name</Default>
</Literal>
<Literal>
<ID>date</ID>
<ToolTip>Replace with date of cheer</ToolTip>
<Default>date</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[// Cheer $amount$ $name$ $date$ $end$]]></Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment