Have you ever worked on a large Visual Studio project that contained many projects and become somewhat disorientated, unable to find the currently open file within the Solution Explorer pane?
I did just that recently … I started work on a large Visual Studio solution for a client which contained over 180 projects within a single solution. Yep, I’m not even joking!
Whilst trying to learn and understand the solution structure I found myself getting lost inside the sea of nested projects and folders contained within the solution.
Well guess what? You're in luck because I'll show you a little known feature that may help you.
Visual Studio has a little known feature that will automatically locate the currently open file in the Solution Explorer pane.
To enable it you'll need to dive into the Visual Studio options menu and enable it via:
Tools > Options > Projects and Solutions > Track Active Item in Solution Explorer
Once enabled, you will see the file selection immediately change in the Solution Explorer pane as you switch between different files.
Well I hope this quick tip has helped you. If you have discovered any other handy ways to do this, feel free to post them in the comments below to help others out there.
- How To: Debug Angular apps with Google Chrome in VSCode - 18th November 2021
- How to: Deploy Azure Functions Using Github Actions - 4th October 2021
- Solved: Set SharePoint Person Field to Null in Power Automate - 16th September 2021