News

VS Code v1.73 (October 2022): Improved Search, New Audio Cues, Dev Container Tweaks

The regular monthly update to Visual Studio Code sees improved search, new audio cues, Dev Container tweaks, merge editor enhancements and much more.

For search, developers can now specify folders to include or exclude. Right-clicking on a folder in the Search view's folder tree now brings up new options: "Restrict Search to Folder" and "Exclude Folder from Search."
Narrowing Down a Search in Animated Action
[Click on image for larger, animated GIF view.] Narrowing Down a Search in Animated Action (source: Microsoft).

New audio cues have been added to help with Tasks and the Terminal. They include:

  • Task completed -- sounds that a task is completed (controlled by the audioCues.taskCompleted setting).
  • Task failed -- sounds when a task fails (audioCues.taskFailed).
  • Terminal Quick Fix -- if a Quick Fix is available on the current line (audioCues.terminalQuickFix).

For remote development, facilitated via extensions, users can now create new Dev Containers based on existing templates, among other enhancements. The remote development extensions enable developers to use a container, remote machine or the Windows Subsystem for Linux (WSL) as a full-featured development environment. Associated highlights for that container option in this update include:

  • Dev Container Templates -- Quickly create a Dev Container based on an existing template.
  • Dev Container Features - Add capabilities to a Dev Container by including prepackaged features (or create your own!)
  • Create new Dev Container without a starting folder.

More info about this new functionality is available in the release notes.

As far as tweaks to the Merge Editor, which Microsoft has been focusing on recently, this update sees some polishing, many bug fixes and some new features. Highlights include:

  • Accepting both sides appends conflicts -- Both Accept Incoming and Accept Current can always be selected. When both options are taken, the merge editor appends the corresponding changed lines.
  • Diff decorations against base -- When the base view is opened, a diff is shown between the currently focused side and base. This diff view can be used to better understand the changes in Incoming and Current.
  • Diff algorithm improvements -- The default diff algorithm for the merge editor has been changed. The new diff algorithm is optimized for merge scenarios. In common cases, the number of hunks are minimized and insertion positions are optimized. In case the new algorithm causes problems, the setting "mergeEditor.diffAlgorithm": "smart" can be used to switch back to the previous algorithm (default is now experimental).
  • Navigate through conflicts -- Devs can now click the conflict counter to jump to the next unhandled conflict.

Other highlights of the October 2022 VS Code update as presented by Microsoft (with links for more info) include:

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