Visual Studio 2022 is Microsoft’s latest version of its popular integrated development environment, featuring many improvements related to hot reloading, debugging, code editor, and theming. It is now available as a 64-bit application and supports .NET 6 and projects from multiple Git repositories in the same solution.
Microsoft has also done a lot of work on the IDE user interface, adding, for example, a whole new set of icons and a new font, the Cascadia Code, improving clarity and readability. Through integration with Accessibility Information, accessibility issues are now discovered and resolved before the product is released. Each developer can easily customize the environment using themes and synchronize the configuration across multiple PCs.
Visual Studio supports many languages and frameworks, and it is available in several editions: Community, professional and business. Visual Studio teams collect customer feedback as part of their community-based development process to define the product roadmap. Recent versions have received many contributions and contributions from the community, orienting the tool more towards real use cases. A clear example is the requested 64-bit support for many years now.
InfoQ interviewed Leslie Richardson (Program Manager, Visual Studio Extensibility & Debugging) and the Visual Studio team to take a closer look at these new features and enhancements in this new release.
InfoQ: How can Visual Studio 2022 increase developer productivity?
Richardson, Harshada Chandrakant Hole (Product Manager – Visual Studio), Mika Dumont (Program Manager – .NET and Visual Studio team) and Grace Taylor (Program Manager II – Development Tools): There are so many productivity improvements across the board including:
- Significant improvements to Hot Reload, which works for both Managed .NET and Native C ++, and it saves you time by modifying your code without restarting the application during development. You can consult our release notes for the latest Hot Reload improvements and follow upcoming improvements on our back.
- New refactoring linked to C # 10.0 and navigation, such as the namespace within file scope;
- New debugging features like Force Run on Click, which will run the debugger until the selected cursor position is reached, ignoring any breakpoints in between. Also, node from external sources in Solution Explorer, many small changes in Attach to Process dialog, many updates to breakpoint experience with new context menu, dots temporary and dependent shutdowns. here is release notes and some blogs to give more details:
- Additions to the editor such as line spacing improvements;
- We have improved the personalization experience to best suit the habits of each developer. We have increased the flexibility of the themes with the ability to match your VS theme to your Windows OS theme. We’ve added new document management features through coloring and customizing tabs in your workspace and other upcoming new features we have describe in our blog post.
InfoQ: What are the benefits of having a 64-bit version of Visual Studio?
Richardson: The most significant benefits of 64-bit Visual Studio are improved load times and drastically reduced out-of-memory exceptions, especially seen in large solutions containing hundreds of projects and files.
InfoQ: Can you tell us more about the Intellicode improvements?
Mark Wilson-Thomas (Senior Program Manager – Visual Studio): The most obvious is our new Intellicode end of line function for C # users. An in-depth introduction is also available here. We hope the new line completions bring a significant productivity boost to your code editing experience.
InfoQ: How can multi-repository Git support help team collaboration?
Taysser Gherfal (Senior Program Officer): Some of our clients may have teams working on cross projects hosted on different Git repositories. Previously, users had to either use multiple instances of Visual Studio or rely on external Git tools to collaborate. With multi-depot support In Visual Studio 2022, users will be able to work on solutions with projects hosted on different Git repositories, which means they will be able to engage and collaborate without leaving Visual Studio.
InfoQ: Does Visual Studio 2022 have any new options for remote testing?
Kendra Havens (program manager – .NET and Visual Studio team): Yes! Remote testing in Visual Studio 2022 is available for local containers, WSL and any SSH connection, as well as remote debugging of tests.
InfoQ: How does Visual Studio 2022 help developers find memory issues in their applications?
Richardson: Visual Studio has a profiling tool suite that can help diagnose memory, including Memory Usage Tool, which can identify memory leaks and high memory consumption. Also Diagnostic analyzer is one of the latest tools that can be used to identify common .NET issues in core dumps.
InfoQ: Is Visual Studio 2022 ready for .NET 6?
Dumont: Yes, Visual Studio 2022 supports .NET 6.0.
If you want to try out the new features in Visual Studio 2022, you can download the Community edition free. Additionally, if you want to get the most out of Visual Studio, you can check out the Documentation section on Microsoft Docs. Remember to follow the Visual Studio Blog and the Show Visual Studio Toolbox to be aware of news and procedures related to the IDE.