Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Coco VS Code IntegrationNew to Visual Studio Code? Get it now.
Coco VS Code Integration

Coco VS Code Integration

Qt Group

qt.io
|
1,448 installs
| (1) | Free
This extension makes Coco code coverage measurements visible in the editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Coco VS Code integration

This extension lets Visual Studio Code cooperate with the Coco code coverage tool.

The extension needs Coco v6.0.0 or later to work correctly.

Features

With this extension, Visual Studio Code automatically starts CoverageBrowser when a C, C++ or C# file is opened and highlights it according to the code coverage.

When hovering over an intrumented line in a VS Code editor, a tooltip with coverage details appears.

A click on a line in an instrumented file lets CoverageBrowser select and display the same line

How to use it

  • Measure the code coverage of your program with Coco.
  • Import the .csexe files into the .csmes file.
  • Start Visual Studio Code (if it is not already started). It will then start CoverageBrowser, usually in a hidden mode.
  • In CoverageBrowser, select the .csmes file, the coverage mode, and other settings. They determine which lines are highlighted in Visual Studio Code.

Settings

This extension contributes the following settings:

  • coco-vscode.coverageBrowser: Path to the CoverageBrowser binary if it is not in the standard location.
  • coco-vscode.coverageBrowserArguments: Additional arguments to the CoverageBrowser binary.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft