Paul Krill
Editor at Large

Visual Studio Code finalizes test coverage API

news
Apr 4, 20243 mins

Latest update of Microsoft’s code editor brings native support for test coverage, custom editor labels, locked scrolling, and more.

Visual Studio Code, a popular Electron app
Credit: IDG

Microsoft has unveiled Visual Studio Code 1.88, also known as the March 2024 release of the company’s popular code editor. The update brings capabilities such as a test coverage API, custom editor labels, and locked scrolling.

Introduced on April 4, Visual Studio Code 1.88 can be downloaded for Windows, Linux, or Mac from the project website.

In this release, Microsoft has finalized its Test Coverage API, bringing native coverage support to VS Code. If a developer’s testing system supports it, coverage can be accessed using the new Run With Coverage button. Using test coverage requires that your VS Code extension implements the new API.

Custom editor labels, meanwhile, allow developers to customize the display label for editor tabs and the Open editors view. This functionality can be used to distinguish between editors for files with the same name, Microsoft said. And with locked scrolling, developers can synchronize scrolling across visible editors by using the View: Toggle Locked Scrolling Across Editors command. When developers scroll in one editor, all the other editors scroll by the same amount, keeping everything aligned.

Also in Visual Studio 1.88:

  • The minimap now recognizes and renders sections defined by folding markers, such as //#regioncode in TypeScript. This lets users quickly scan and navigate across large files.
  • In Quick Search, file name separators have been made sticky to make it clearer which file a search result is associated with. This can be useful when developers have many occurrences of a search term in a file.
  • The Activity Bar can be moved to the bottom of the Side Bar as well as the top. When positioned at the top, the Activity Bar now fits better with the rest of the interface.
  • GitHub Copilot inline chat now starts as a floating control, making it more lightweight, then expands to take up more space after the first request.
  • Accessibility signal sounds have been added for voice recording.
  • To more easily run related cells in a notebook, users can now run cells grouped together by a markdown section header with the Run Cells in Section action.

Visual Studio Code 1.88 follows the late-February release of Visual Studio Code 1.87, which introduced voice dictation.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author