Auto select file in Solution Explorer from its open tab
Code Example - Auto select file in Solution Explorer from its open tab
Tools-->Options-->Projects and Solutions-->Track Active Item in Solution Explorer