summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--VC2008/tolua.snippet25
-rw-r--r--VC2013/tolua.snippet25
2 files changed, 50 insertions, 0 deletions
diff --git a/VC2008/tolua.snippet b/VC2008/tolua.snippet
new file mode 100644
index 000000000..3c9c9cf33
--- /dev/null
+++ b/VC2008/tolua.snippet
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<CodeSnippets
+ xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
+ <CodeSnippet Format="1.0.0">
+ <Header>
+ <Title>ToLua</Title>
+ <Shortcut>tolua</Shortcut>
+ <SnippetTypes>
+ <SnippetType>SurroundsWith</SnippetType>
+ </SnippetTypes>
+ <Author>Daniel O'Brien (marmot21)</Author>
+ <Description>Adds the selected lines for Lua export</Description>
+ </Header>
+ <Snippet>
+ <Code Language="cpp">
+ <![CDATA[
+ // tolua_begin
+
+ $selected$
+
+ // tolua_end]]>
+ </Code>
+ </Snippet>
+ </CodeSnippet>
+</CodeSnippets> \ No newline at end of file
diff --git a/VC2013/tolua.snippet b/VC2013/tolua.snippet
new file mode 100644
index 000000000..3c9c9cf33
--- /dev/null
+++ b/VC2013/tolua.snippet
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<CodeSnippets
+ xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
+ <CodeSnippet Format="1.0.0">
+ <Header>
+ <Title>ToLua</Title>
+ <Shortcut>tolua</Shortcut>
+ <SnippetTypes>
+ <SnippetType>SurroundsWith</SnippetType>
+ </SnippetTypes>
+ <Author>Daniel O'Brien (marmot21)</Author>
+ <Description>Adds the selected lines for Lua export</Description>
+ </Header>
+ <Snippet>
+ <Code Language="cpp">
+ <![CDATA[
+ // tolua_begin
+
+ $selected$
+
+ // tolua_end]]>
+ </Code>
+ </Snippet>
+ </CodeSnippet>
+</CodeSnippets> \ No newline at end of file