What's New in Visual Studio 2019 v16.2 Preview 2
Microsoft has shipped Visual Studio 2019 version 16.2 Preview 2, highlighting .NET productivity improvements and other new functionality.
One of those productivity improvements was prodded by feedback from developers.
"We've heard the request to bring back the Sort Usings command and that it should be separate from the Remove Usings command," said Jacqueline Widdis, program manager on the Release Team, in a June 11 blog post. "We appreciate everyone who shared their feedback with us. You can find the Sort Usings command under Edit > IntelliSense."
Other .NET productivity improvements include:
- The ability to convert a switch statements to switch expressions (a new feature in C# 8.0)
- The ability to generate a parameter as a code fix. ("Place the cursor in the variable name and type (Ctrl+.) to open the Quick Actions and Refactorings menu. Select the option to Generate a variable to create a new parameter.")
Besides .NET productivity improvements, the post highlighted these:
- Visual Studio Installer support: Developers will now be warned and prompted with a "Cancel" button if an installation requires more space than what's available.
- App Installer Command Line Packaging Improvements: These include an improved sideloaded command-line packaging experience for Windows Desktop projects, among others.
Other improvements, as detailed in the release notes, include:
David Ramel is the editor of Visual Studio Magazine.