News

See What's Coming for VS Code in New Update Previews

The regular monthly update to Visual Studio Code (April 2021, v1.56) has a bunch of preview features that developers can try out, along with the usual raft of new functionality.

"The VS Code team has been busy this month working on several longer lead time updates so check out the Preview features section to learn what's upcoming," says the introduction to the announcement post.

Checking out that Previews section reveals:

  • Terminal tabs: Tabs in the terminal can be enabled by this setting, "terminal.integrated.tabs.enabled." After that, the new tabs view will appear by default when there are at least two terminals opened. In an effort to mirror Explorer tab behavior, various actions can be taken from the tabs via the context menu or hovering, including split a terminal, change icon, rename and kill terminal.
    Terminal Tabs
    [Click on image for larger view.] Terminal Tabs (source: Microsoft).
  • Terminal statuses: Status icons are now available, which provide details upon hover. Currently supported are these statuses:
    • Relaunch needed: A warning icon status is used if an extension wants to change a terminal's environment.
    • Disconnected: A plug icon status is used when the terminal loses its connection with its process.
    • Bell: A bell icon appears when the bell is enabled via the terminal.integrated.enableBell setting and the terminal bell triggers.
  • Welcome Page walkthroughs: Enabled with another setting, this preview expands the walkthroughs contribution for placing content on the Getting Started page, enabling Markdown in both step descriptions and step main content.
    Walkthrough in Animated Action
    [Click on image for larger, animated GIF view.] Walkthrough in Animated Action (source: Microsoft).
  • Custom hover support in Activity bar and Panel: These are enabled with: "workbench.experimental.useCustomHover."
    Custom Hover in Animated Action
    [Click on image for larger, animated GIF view.] Custom Hover in Animated Action (source: Microsoft).
  • Remote Repositories (RemoteHub): This comes via a built-in extension available in the Insiders build of VS Code, letting developers browse, search, edit and commit to any GitHub repository directly from within the editor -- no need to clone or have a local repository.
  • TypeScript 4.3: Building on previous support for the next update to TypeScript, enabled editor improvments include:
    • Support for override. There are also Quick Fixes for adding the override keyword.
    • Import statement completions. This is like auto import, except you are typing in the import statement itself.
    • JSDoc @link tag support.
  • Workspace Trust: This builds upon previous Workspace Trust functionality for extensions. Now, once enabled, this feature pops up a dialog asking "Do you trust the authors of the file in this folder?" Microsoft said, "This dialog is important for allowing the user to make a decision early and understand the impact of their decision. Once you understand the feature, you may want to customize when to display the dialog using the security.workspace.trust.startupPrompt setting."
    Workspace Trust
    [Click on image for larger view.] Workspace Trust (source: Microsoft).
  • As far as non-preview features that developers can use right away without any configuring any settings in non-Insiders editions, the post lists:

    • Improved hover feedback: Helps you quickly find clickable editor actions.
    • Terminal profile improvements: Create a custom default terminal profile.
    • Debugger inline values: Display variable values inline during debugging sessions.
    • Notebook KaTeX support: Math support in notebook Markdown cells.
    • Remote: Containers volumes view - Manage mounted volumes within Docker containers.
    • winget installation: VS Code is available via the Windows Package Manager.
    • New introductory videos: Videos for getting started with VS Code as well as working with C++.

    The post explains all of the above in more detail along with many other new features, ranging from partner extensions and proposed extension APIs to easier inspecting of webviews and a bunch of fixes.

    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