News

Visual Studio Code Dev Team Cleans Up

The Visual Studio Code development team focused on some housekeeping in the October update, closing more than 4,000 issues on GitHub, where the cross-platform, open-source editor lives.

But, while that was going on, more than 2,000 new issues were created by the community, so the team also worked on revamping its issue triaging workflow, in what it called its "annual issue house keeping iteration."

"In order to restore a reasonable level of clarity we annually perform a House Keeping Iteration in which we go through all open issues," the team explained in a post. "We categorize, label, fix, and close issues. This results in a wave of notification which is hard to deal with (our apologies) but in the end there is better understanding of what will happen to your ideas."

However, there were also some new features and functionality added in the October (released in November) update, which brings VS Code up to version 1.40.

For example, the team announced VS Code is now built with TypeScript 3.7, which brings many improvements, including allowing for the use of optional chaining in the codebase, described as " one of the most highly-demanded ECMAScript features yet." It lets the team "write code where we can immediately stop running some expressions if we run into a null or undefined," thanks to the new ?. operator.

Also new is an Electron 6.0 update. "In this milestone, we finished the exploration of bundling Electron 6 into VS Code, making it the first time this Electron version ships with stable," the dev team announced. "This is a major Electron release and comes with Chromium 76.0.3809.146 and Node.js 12.4.0 (a major leap forward from our current version with Chromium 69 and Node.js 10.11.0). We have started to explore updating to Electron 7, which we hope to push to Insiders soon."

Furthermore, in the Workbench category alone, the team listed:

  • Activity Bar indicator: "We've introduced a new indicator for the active item in Activity Bar to make it stand out better and increase readability. We also tuned the inactive foreground colors for a stronger contrast with the active element."
  • Themable window border: "We've introduced two new theme colors, window.activeBorder and window.inactiveBorder, for providing a border around the VS Code window. The window.activeBorder applies to the active (focused) window, while the window.inactiveBorder applies to inactive (unfocused) windows."
  • List and tree keyboard scrolling: "You can now press Ctrl+Up and Ctrl+Down to scroll lists and trees using the keyboard. If horizontal scrolling is enabled, Ctrl+Left and Ctrl+Right will also scroll horizontally."
  • Fewer notifications in Zen mode: "While using Zen mode, notification toasts will no longer distract you unless they inform about errors. You can control this behavior with the new zenMode.silentNotifications setting. You can always access all notifications from the status bar by clicking on the notification icon in the bottom-right corner."
  • Type filters for outline and breadcrumbs: "There are new settings to configure what symbols are displayed in the Outline view and breadcrumb navigation. The settings are called outline.show{symbol type} and breadcrumbs.show{symbol type}. For example, outline.showVariables, outline.showFunctions, etc."
  • Control the sizing behavior when splitting editors: "A new setting workbench.editor.splitSizing controls the layout of editors when splitting them. By default, the size will be distributed evenly among all editors."
  • Disable GPU acceleration: "We have heard issue reports from users that seem related to how the GPU is used to render VS Code's UI. These users have a much better experience when running VS Code with the additional --disable-gpu command-line argument. Running with this argument will disable the GPU hardware acceleration and fall back to a software renderer."

Many more improvements were made to the editor, integrated terminal, tasks, source control, debugging, languages, extension authoring and more. For complete details, see the announcement post.

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