Search
Close this search box.

VS2015 Automatically Sync Open File in Solution Tree

In Visual Studio 2010 the default functionality meant that when you made a file Active, it was automatically selected in the Solution Explorer tree (but only if the containing folder was open).

In Visual Studio 2015, this functionality is turned off by default. Instead, you can also do it on a per file basis using the ‘Sync with Active Document’ button at the top of the Solution tree or by pressing Ctrl+[ followed by S.

However, if you like this to always occur, you need to turn it on in the options as follows:

Tools->Options->Projects and Solutions->Track Active Item in Solution Explorer

The good news is that this appears to find the file in the solution tree even when the containing folder is closed.

Not sure why they turned it off? Maybe performance issues on large projects?

#

This article is part of the GWB Archives. Original Author: The life and times of this developer…

Related Posts