How to customize the places bar in Visual Studio 8
I searched all over for how to do this, and I could find how to add it to windows and to office, but not to dev studio. And since my src folders are not in the gastly C:\Documents and Settings\Chris\My Documents\Visual Studio 2005\Projects path, I really wanted a quick way to access them from the open dialog. I really wanted to add them to the places bar. Of course when I started this quest, I didn’t even know it was called the “places bar.”
Add new places
This .reg file will add two icons to the places bar, the first one called perforce and it points to C:\src\depot\src\, the second Source Safe.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Open Find\Places\UserDefinedPlaces] [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Open Find\Places\UserDefinedPlaces\Place1] "Name"="Perforce" "SortAscending"=dword:00000001 "Path"="C:\\src\\depot\\src\\" [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Open Find\Places\UserDefinedPlaces\Place2] "Name"="Source Safe" "Path"="C:\\src\\SOS\\"
You could change these names and paths and save it as your own .reg file, or do it by hand in the registry editor.
- Create the Place# key (where # is a number between 1 and 10)
- Add a string called “Name”, with the name you want displayed
- Add a string called “Path”, with the path to your place
- Add up to 10, however only 5 will be displayed unless you opt for the small icons
Small icons
Add a DWORD to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Open Find\Places\ called “ItemSize”, set this to 1 if you want small icons (and up to 10 places). 0 for large ones.
