Автоматическое выберите файл в Solution Explorer с ее вкладки Open
Tools-->Options-->Projects and Solutions-->Track Active Item in Solution Explorer
Code with bulbul
Tools-->Options-->Projects and Solutions-->Track Active Item in Solution Explorer