Paul Krill
Editor at Large

Microsoft addresses Visual Studio extension woes

news
Oct 30, 20202 mins

New Visual Studio extensions model would make APIs easier to discover and extensions easier to write

white outlet electrical outlet plug unplugged sad face
Credit: Getty Images

Microsoft is working on a new extensibility model for its signature Visual Studio IDE, with the goals of improving the reliability of extensions and making them easier to write. Extensions are to be supported locally and in the cloud as part of the plan.

Elaborating on the effort October 28, Microsoft cited an issue in which Visual Studio would crash because of an extension. Current in-proc extensions are subject to few restrictions over how they can influence the IDE and other extensions, allowing them to corrupt the IDE if an extension crashes or experiences an error.

A big change to the extensions model is that extensions will be made out-of-proc, helping to increase isolation between external and internal extension APIs and prevent a buggy extension from causing other extensions or the IDE to crash, slow down, or hang. Designing a new out-of-proc extension model allows Microsoft to completely redesign the Visual Studio extension APIs. 

Visual Studio extension writers have submitted feedback complaining of inconsistent APIs, an overwhelming architecture, and confusion over how to implement even basic commands. Discovering APIs, and knowing when or where to use them, can be challenging. The new out-of-proc extension model should make writing extensions more uniform and easier, with easily discoverable APIs. However, Microsoft cautioned that completing the new extension model would take time. The project is still in the conceptual phases.

Developers can participate in a survey on extensions they leverage.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author