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.

  1. In the Categories list, click Tools.
  2. With the Customize dialogue box still open, open the Tools menu.
  3. Back in the Customize dialogue box, in the Commands list, drag Code Snippets Manager and drop it on the Tools menu.
  4. Click Close on the Customize dialogue box.

Why am I the last person on Earth to discover things like this? <grin>

Published 23 January 2008 04:27 PM by Ken Cox [MVP]

Comments

# Rachna said on 01 May, 2008 07:28 PM

Awesome thank you! You are a life saver and have saved me some time that I can now use for surfing : ) No but really, I had the same issue - thanks!

# Roger said on 08 May, 2008 12:48 PM

I also had the same issue but your article has helped me

thank you.

# MJC said on 20 May, 2008 12:45 PM

thanks for this useful information ;)

# Adrian said on 08 June, 2008 02:22 AM

Thanks this helps...

The only thing I found was "Inset Snippet" under the intellisense menu (Ctrl-K, Ctrl-X).

# Ken Blackstein said on 07 December, 2008 04:16 PM

Just found your Blog. Exactly what I needed. I started using VS 2008 full time after installing SP1 - so I got REAL nervous when the snippets manager didn't show. Thank you!

# Johnson said on 08 December, 2008 09:31 PM

this resolve my problem. thanks

# Pete said on 10 December, 2008 02:37 PM

Thanks a bunch for this helpful blog!  I was reading how to use Code Snippets Manager on many different sites and they all said go to Tools -> Code Snippets Manager.  I kept re-reading all the items in my Tools menu thinking I was missing something.  Finally, I did a search on Google with the phrase "Don't have code snippets manager" and your blog came up to save the day.  Thanks again.

# Ninad said on 10 April, 2009 08:04 AM

Good Information

# Mahesh Joshi said on 26 May, 2009 02:38 AM

WOW!!!This is realy great. Many many thanks....

# Alison Xu said on 12 July, 2009 10:57 AM

Great! I had same problem and couldn't find the solution. You provided the best solution.

Thank you.

Alison Xu

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Search

Go

This Blog

Web Links

Syndication