Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Visual Studio 2010 how to get Solution Explorer to highlight the file you are viewing?

I like the NaviateTo option in Visual Studio 2010, but for some reason I can't figure out how to get VS to highlight the current file I am viewing.

Its one thing to navigate to the file, but I also want to know where the file is and not have to dig around for it.

like image 258
Blankman Avatar asked Jul 22 '10 15:07

Blankman


People also ask

How do I show the open file in Solution Explorer in Visual Studio?

In Visual Studio, click File > Open > Folder. Navigate to the folder, and click Select Folder. This opens the folder in Solution Explorer and displays its contents, files and any subfolders.

How do I view a solution file in Visual Studio?

You have to go to Tools > Options > Project and Solutions > General , where you can see “Always Shows Solution” is Unchecked. Once you checked “Always Shows Solution” , you will able to view the Solution file with in solution explorer. Note : By default “Always Shows Solution” is Checked.

How do I show all files in Solution Explorer?

Solution: Solution Explorer"Show All Files" option found on the top of solution explorer. Honestly, I hadn't even noticed before that solution explorer has a “Show All Files” option. Turning this on show everything in your solution folder that isn't part of the project.


1 Answers

I assume you mean, highlight in Solution Explorer.

For that, you can go to:

Tools -> Options -> Projects And Solutions

Check the Track Active Item in Solution Explorer option

like image 104
Marc Avatar answered Oct 22 '22 05:10

Marc