Code Snippets Manager in VWD 2008
I want to use snippets rather than clumsy typing during my talk at the Victoria .NET code camp on Saturday. New to snippets, I read the online documentation about accessing the Code Snippets Manager. Go to Tools --> Code Snippets Manager they say. Easy, right? Nope! I don't have that item in VWD. Does anyone else?
Sheesh! I thought I had the default Web development settings in Visual Studio 2008's Visual Web Developer environment.
At any rate, unable to find a way to open the Snippets Manager from a menu, I went into the keyboard mapping scheme for hints and searched for commands containing "snippet". Sure enough, up came Tools.CodeSnippetsManager, currently assigned to Ctrl+K, Ctrl+B. I used the shortcut chord and realized that have never seen that snippet tool before!
If you're like me and don't have Tools --> Code Snippets Manager in VS 2008 VWD, do this:
From the Tools menu, click Customize.
- In the Categories list, click Tools.
- With the Customize dialogue box still open, open the Tools menu.
- Back in the Customize dialogue box, in the Commands list, drag Code Snippets Manager and drop it on the Tools menu.
- Click Close on the Customize dialogue box.
Why am I the last person on Earth to discover things like this? <grin>