News

Visual Studio 2022 v17.11 Preview 1 Targets 'Quality-of-Life' Features

Who doesn't want a better quality of life? Visual Studio 2022 v17.11 Preview 1 is here to help, at least for developers using Microsoft's flagship IDE.

The first preview of v17.11 introduces various quality-of-life improvements for developers across all workloads, providing updates in code search, pull request comments, debugging, profiling and several other enhancements, various bug fixes and community-driven improvements.

"When you use Visual Studio, you want to feel empowered and productive," said Microsoft's Mads Kristensen in announcing Preview 1 yesterday (May 21). "That's why quality-of-life features are so important: they make coding a smooth and enjoyable experience, free of unnecessary hassles and headaches."

The principal product manager for Visual Studio pointed to the release notes for more information, where developers can find details on the following:

Productivity

  • Enhanced code search scoping: Narrow down code search to the current document, project or entire solution.
    Code Search
    [Click on image for larger view.] Code Search (source: Microsoft).
  • Improved pull request comments integration: View and interact with GitHub and Azure DevOps PR comments directly in the editor.
    Pull Request Comments
    [Click on image for larger view.] Pull Request Comments (source: Microsoft).
  • Draft PRs and templates: Create pull request drafts and use GitHub templates for descriptions.
  • Updated keyboard shortcuts for better familiarity: More familiar shortcuts, such as Ctrl+/ for toggling line comments and Ctrl+Shift+P for opening the command palette.

Debugging

  • Easier handling of async exceptions: Automatically breaks on async method exceptions in ASP.NET applications.
  • Consistent profiling with persisted target selection: Instrumentation tool remembers target selections between runs.
  • External code profiling: Auto-decompilation for .NET libraries when source code is unavailable.

IDE

  • Component detection: Improved detection and notification of missing components and extensions using *.vsconfig files.
  • User authentication: Default authentication mechanism now uses Web Account Manager (WAM) for better security and user experience.

Development Workloads

  • Prioritized WinUI templates: Easier access to WinUI templates in new project dialogs.
  • NPM packages in Solution Explorer for JavaScript/TypeScript projects: NPM packages now listed under the Dependencies node for JavaScript and TypeScript projects.
  • New Unreal Engine class templates and toolbar: Add common Unreal Engine class templates to projects easily; dedicated toolbar for quick access to Unreal Engine actions.
  • Command line arguments toolbar for C++ projects: Set and change command line arguments directly from a toolbar.
  • CMake debugging for Linux projects: Debug CMake scripts for Linux projects using WSL or SSH.

Bug Fixes

  • Rich copy/paste issues: Fixes for C# source code copy/paste issues in Office.
  • Pointer errors: Correction of errors related to in-class pointers to member variables.
  • Type optimization fixes: Fix for type switches from signed to unsigned during optimization.
  • Branch switching issues: Resolution of index out-of-bounds errors when switching branches.
  • Code analysis warnings: Addressing false positives for Warning C26434.
  • Debugger visualizations: Improvement in partial visualizations of std::variant in the debugger.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube