ARN

Visual Studio Code 1.72 enhances Git source control

Visual Studio Code now supports discovery for nested Git repositories and improves autoscrolling, among other features.

The latest version of Microsoft’s Visual Studio Code code editor focuses on improvements to the toolbar and autoscrolling, as well as Git repos.

Unveiled October 6, Visual Studio Code 1.72 is also known as the September 2022 release, as it features fixes and features from last month.

Toolbar customisation in VS Code 1.72 lets developers hide actions from the toolbar. Users can right-click on any action in a toolbar and choose its hide command or any of the toggle commands. Hidden actions are moved to the More Actions menu and can be invoked from there.

The editor now autoscrolls at a more manageable speed of about one viewport per second when the mouse is close to the edges, and quicker when the mouse is further from the editor, independent of the FPS (frames per second).

Previously, when selecting and dragging, scrolling was dependent on the display’s FPS, making the editor scroll quickly as soon as the mouse reached its edges. Version 1.72 also improves hovering, with the hover now visible as long as the mouse is moving toward it.

Prior to this revision, the editor was aggressive in hiding itself, especially when mousing over an empty area of the editor. This trait made it difficult to reach some actions shown in the hover.

Visual Studio Code can be downloaded for Windows, Linux, and macOS from the Visual Studio Code project website.

Other capabilities in version 1.72 include changes to repository discovery to support nested Git repositories. This has been a longstanding feature request. Also, when an SSH key with a passphrase is used in Git operations, VS Code now will display the quick input control so users can enter the passphrase for the SSH key.

For Git repositories with multiple remotes, invoking the fetch command now displays a Quick Pick with the list of all remotes while a new command, Git: Abort Merge, halts a merge operation currently in progress.

Furthermore, users can log into GitHub Enterprise Server without needing a personal access token (PAT) and VS Code now shows extensions updating during the last week, found in the Recently Updated section of Updates in the Extensions view.

Also, extensions requiring attention are now sorted to the top of the default Installed section of the Extensions View. This includes extensions with pending updates or those that have been updated or disabled and require the editor to reload.

Other changes include news that search results now can be viewed in a tree, tasks can be pinned the Tasks: Run Task list for easier, faster access and markdown links to headers, images, and other local files will be analysed, with invalid links reported as errors or warnings.

The previous version, VS Code 1.71, arrived last month, featuring easier transitions between text and merge editors. It was followed by two security updates.