Saturday 6 December 2008

Code Snippets Manager

Visual Studio Code Snippet files (.snippet) are managed by the Code Snippets Manager available in MSVC 2005, 2008 and Express editions). The keyboard shortcuts you need are:

Cntrl-K Cntrl-B To enter the CSM
Cntrl-K Cntrl-X To insert a code snippet in your code

Code snippets look like this:
<?xml version="1.0" encoding="utf-8"?>
<code xmlns="">

...some metadata and code...
</code snippet>
</code snippets>

No comments: