我有自己的"CodeSnippet"了!

1作者:ah, 1990-06-08

<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  
<CodeSnippet Format="1.0.0">
    
<Header>
      
<Title>创建注释</Title>
      
<Shortcut>ah</Shortcut>
      
<Description>创建ah的代码注释</Description>
      
<Author>ah2008</Author>
      
<SnippetTypes>
        
<SnippetType>Expansion</SnippetType>
      
</SnippetTypes>
    
</Header>
    
<Snippet>
      
<Declarations>
        
<Literal Editable="true">
          
<ID>UserName</ID>
          
<ToolTip>UserName</ToolTip>
          
<Default>ah</Default>
          
<Function>
          
</Function>
        
</Literal>
        
<Literal Editable="true">
          
<ID>CreateDate</ID>
          
<ToolTip>CreateDate</ToolTip>
          
<Default>1990-06-08</Default>
          
<Function></Function>
        
</Literal>
          
<Literal Editable="true">
              
<ID>Edition</ID>
              
<ToolTip>Edition</ToolTip>
              
<Default>1.0</Default>
              
<Function></Function>
          
</Literal>
      
</Declarations>
      
<Code Language="csharp">
    
<![CDATA[#region 作者:$UserName$, $CreateDate$
/*
* 版本 :$Edition$
* 维护者:
* 最近维护日期:
*
*/
#endregion
]]></Code>
    
</Snippet>
  
</CodeSnippet>
</CodeSnippets>
谢谢:Mayur Khare

Code Snippets manager in Visual Studio 2005 not showing up

To Add Code Snippets Managerin your VS install
 Right-click - on the menu,
 Choose Customize,
 Go to the Commands tab,
 Select Categories> Tools.
 Drag-and-drop Code Snippets Manager from the right to any place on the menu.
posted @ 2007-12-09 16:38  突破666  阅读(579)  评论(2编辑  收藏  举报
郴州东江湖农家乐联盟:www.djhnjllm.com 郴州东江湖农家乐联盟