1
0

added tolua export snippet for VC

This commit is contained in:
Daniel O'Brien 2013-11-14 16:29:33 +11:00
parent 21bd1d74a1
commit 452f589e21
2 changed files with 50 additions and 0 deletions

25
VC2008/tolua.snippet Normal file
View File

@ -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>

25
VC2013/tolua.snippet Normal file
View File

@ -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>