To highlight the current open file in Visual Studio’s Solution Explorer you must enable the ‘Track active item in Solution Explorer’. To enable this follow these simple steps:
- In Visual Studio 2010 click on the Tools menu
- Select Options
- Select Projects and Solutions
- Select General
- Tick ‘Track active item in Solution Explorer’
- Click OK