Locating the active item in Solution Explorer

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Scott Hanselman tweeted a link to Daniel Cazzulino’s blog post about automatically synchronizing the Visual Studio Solution Explorer with the active item open in the editor. It’s a great tip, but I personally have never been a fan of the Track Active Item option – I find that it slows down the IDE, causes distracting visuals, and often just isn’t the behavior I want. I do, however, often want a way to manually sync up the Solution Explorer with my currently open item. Fortunately, it’s very easy to accomplish this with a very simple macro. The idea is very simple – just turn on the Track Active Item option that Daniel mentions, and turn it off again. It’s a two-liner:Sub SyncSolutionExplorer()   DTE.ExecuteCommand(“View.TrackActivityinSolutionExplorer”)   DTE.ExecuteCommand(“View.TrackActivityinSolutionExplorer”)End SubYou can wire up that macro to a toolbar button and/or a keyboard hotkey, and (as ScottHa would say) bam, you’re golden. 

X ITM Cloud News

Ana

Next Post

Programmers and typists

Mon Nov 25 , 2019
Spread the love          The inimitable Jeff Atwood of Coding Horror fame (or is it Stack Overflow fame now?) recently blogged about the importance of typing skills for developers. In typical smackdown style, he posited that “coding is just typing”. Jimmy Bogard disagreed, saying that the number of lines of code typed […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM