in

jetlounge

the minty fresh blog that whitens your teeth!


Syndication


Add Custom Folder to "Look In" or "My Places" in Visual Studio

by David Leibowitz | February 10, 2009 | Comments: 2

When you click Open Project in Visual Studio 2005, you're presented with 3 basic folders to traverse:

Desktop

My Projects

My Computer

 

It always bugged me that My Documents was not displayed, nor was it easy to get a new custom folder onto the shortcut bar. In Microsoft Office land, you can add to the My Places bar fairly simply. Click Open document, browse to the folder and right click on the My Places bar to add the short-cut. Not so simple in Visual Studio.

The hack to get My Documents (or any custom folder) on the My Places bar:

  1. Open Registry Editor (regedit)
  2. Browse to  :
    HKCU\Software\Microsoft\VisualStudio\8.0\Open Find\Places\UserDefinedPlaces
  3. Add a New Key and name it Place0
  4. Within this key add 2 String Values and name them:
    Name
    Path
  5. In the Name string value, provide a short description  (example: Client Projects)
  6. In the Path string value, provide the full path to your custom folder (example: c:\Dev\Clients)
  7. Close the registry and reopen Visual Studio
Note that if you pass an invalid folder (like simply entering "My Documents" instead of the fully qualifed path) in the registry, the entire key will be deleted by Visual Studio when you open the application

 

del.ico.us digg this technorati BlinkList Furl reddit DotNetKicks google! live Facebook Stumble Upon Yahoo!



Comments

 

Steve said:

Does not work with Visual Studio 2008 unfortunately

July 18, 2009 5:06 AM
 

Jeff said:

Any ideas on how to do this in VS 2008?

August 6, 2009 2:19 PM

Leave a Comment

(required)  
(optional)
(required)  
Add
Powered by Community Server (Non-Commercial Edition), by Telligent Systems