New toolkit for writing Visual Studio extensions (and where to find extensions) – Visual Studio magazine


New Toolkit for Writing Visual Studio Extensions (and Where to Find Extensions)

Taking advantage of a brand new tool in Visual Studio 2022 and new APIs for coding, Microsoft extension guru Mads Kristensen has announced a new extension writing toolkit.

Called 2022 Scalability Essentials, the new extension pack includes 12 different single-use extensions ranging from a VSIX synchronizer to an extensibility template pack.

“Together with the open source community, we are introducing a new toolkit for writing Visual Studio extensions,” Kristensen said in a November 16 blog post. Publish. “Previously, extensions were difficult to write, but the new toolkit makes it easier than ever.

The Senior Program Manager for Visual Studio further highlighted the community aspect: “The Visual Extensions community is in a unique position to help create the tooling inside Visual Studio that they themselves want to use. . This toolkit is designed by the community – for the community. ”

2022 Scalability Essentials
[Click on image for larger view.] 2022 Scalability Essentials (source: Microsoft).

The kit was first noticed by Visual Studio Magazine in September in the article “New Community Toolkit Leads Extension Writing Revamp for Visual Studio 2022”, but Kristensen’s new post provides new details and a new video on how to write a Visual Studio extension. The very first version of the kit came out in June, so Kristensen was apparently late with her “intro” post.

To get started with the kit, Kristensen recommends the VSIX Cookbook, while visual learners can explore the VS fundamentals: extensions playlist.

Where to find extensions
With Visual Studio 2022 making its debut last week, Leslie Richardson, head of Microsoft’s extensibility program, wrote her own article this week to explain “Where are my favorite extensions in Visual Studio 2022?

“Many authors have already migrated their VS 2022 extensions, but not all published ones are available on VS Marketplace, and some Marketplace extensions have new names,” she said. “If you want to continue using your favorite expansions in VS 2022 but don’t know where they are, here’s a list of the popular expansions and where you can find them, via Marketplace, outside of Marketplace. or as a built-in VS functionality! ”

It explains how to find the VS 2022 extensions in the IDE’s Extension Manager (Extensions> Manage Extensions), which can be used both to browse and install extensions, which it filters for support. versions. Extensions can also be filtered for VS 2022 in the Visual Studio Marketplace.

Extension Manager
[Click on image for larger view.] Extension Manager (source: Microsoft).

Richardson also provided a list of popular extensions that migrated to VS 2022 but are not on the market:

  • GhostDoc (Currently in beta) – An extension that allows you to generate XML comments and up-to-date documentation from your source code using customizable templates.
  • IncrediBuild (version 9.6.0) – An extension that speeds development from builds to testing and release automation by turning every host into a supercomputer with hundreds or even thousands of cores. You can also install this extension in VS Installer by selecting a C ++ workload.
  • NDepends – A static parser extension that makes it easier to manage code quality on a large and complex .NET code base.
  • PostSharp – A template compatible extension that helps you write shorter, cleaner code by providing out-of-the-box implementations of the most common .NET / VB design patterns and a framework for automating your own patterns.
  • ReSharper – A productivity tool that provides code navigation and refactoring improvements, helps you find and fix errors, and gives you suggestions for writing quality code.
  • Visual assistance – A productivity tool that improves IDE functionality related to code navigation, refactoring, code generation and coding assistance, as well as specific tooling for the Unreal Engine.

Additionally, here is a list of VS 2019 extensions that have been officially incorporated into the new 64-bit IDE:

“Visual Studio 2022 is still very new, so many existing extensions are being transitioned through the newly added VS 2022 support and new publish locations,” said Richardson. “The Marketplace and the pre-filtered Extension Manager still host most of the VS 2022 extensions released. Others are currently exclusive to their respective websites or are now fully integrated with the IDE itself. Is your favorite expansion still not available in VS 2022? Let us know which one (s) are important to you in the comments and drop a suggestion ticket in the Developer community! ”

However, the developers did not wait to tell him about their favorite extensions, with the post garnering an unusually high number of comments, 27 to date.

Some of these developers are apparently SQL Server aficionados, as there have been several comments about the need for SSAS, SSIS, and SSRS extensions.

“Thank you for the comments!” Richardson responded. “We are aware that the SSIS, AS, RS and RDLC extensions are critical extensions for many of you and we are currently working with the team to migrate all of these extensions. We have created return tickets for these extensions in DevCom if you want to stay informed of their status: SSIS, SSRS and RDLC. ”

About the Author

David Ramel is editor and writer for Converge360.

Comments are closed.