Solution Explorer Scoping in Visual Studio 2012

Posted Mon, Sep 3 2012 10:23 by Deborah Kurata

In prior versions of Visual Studio, the Solution Explorer has been basically static. With Visual Studio 2012, it is much more dynamic with features such as filtering and scoping.

[For information on the filtering features, see this prior blog post.]

The scoping feature allows you to limit the display of Solution Explorer to one specific folder, project, code file, or class. This allows you to more easily find the code you want to work with during a particular coding session.

For example, if you are building an MVVM application you could scope Solution Explorer on one monitor to your Views folder and Solution Explorer on another monitor to your ViewModels folder. [For more information on displaying Solution Explorer on a second monitor see this upcoming post.]

To scope Solution Explorer to a folder, right-click on the folder and select "Scope To This" from the context menu.

image

To return to the full list of folders and files, click the Home button in Solution Explorer's toolbar.

Scoping to a class provides a quick way to access any property or method  in the class. Right-click on a class in Solution Explorer and select "Scope to This" from the context menu.

image

Use the scoping features of Solution Explorer any time you want to focus on a specific folder, code file, or class during your coding session.

Enjoy!

Filed under: , , ,

Comments

# Interesting Finds: September 3, 2012

Monday, September 03, 2012 2:57 PM by Jason Haley

Interesting Finds: September 3, 2012

# Solution Explorer in Visual Studio 2012

Sunday, September 09, 2012 5:53 PM by Deborah's Developer MindScape

There are lots of new Solution Explorer features in Visual Studio 2012, so many that they did not all

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above: