An example was found from the Visual Studio fragment manager:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\Snippets\1033\Visual C++
I see from the class example, I had the missing material:
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets
xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Class layout for PlatformGameEngine</Title>
<Shortcut>gameengineclass</Shortcut>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>name</ID>
<ToolTip>Class name</ToolTip>
<Default>MyClass</Default>
</Literal>
</Declarations>
<Code Language="cpp">
<![CDATA[#pragma once
// Boiler plate includes
// Project specific includes
// Namespaces
namespace PlatformGameEngine
{
class $name$
{
// Methods
public:
$name$();
~$name$();
private:
// Properties
public:
private:
}
}]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
- Deleted distance after CDATA [...
- node
- ,
:
- , , , ... , .
ctrl+k, h, ctrl, . , .- , ... #rely?
- ... :
$classname$::$classname, <Default>MyClass</Default> ... , ,