Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Coverage ToolNew to Visual Studio Code? Get it now.
Coverage Tool

Coverage Tool

Justin Bossis

|
125 installs
| (0) | Free
Highlights coverage.py lines in VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Coverage.py Highlighter (coveragetool)

An extension to highlight lines according to a coverage.json generated by Coverage.py

Features


Requirements

  • Python coverage package
  • A coverage.json file generated by coverage

Extension Settings

This extension contributes the following settings:

  • coveragetool.coverageFileName: Name of the json file containing coverage data
  • coveragetool.coverageFilePath: Path to the folder containing the coverage JSON file
  • coveragetool.replacePath: Substring in paths that needs to be replaced
  • coveragetool.replacePathWith: Substring to replace with in the paths
  • coveragetool.colors.executedColor: Background color value for executed lines
  • coveragetool.colors.excludedColor: Background color value for excluded lines
  • coveragetool.colors.missingColor: Background color value for missing lines

Commands


Known Issues

  • Decorations do not reload when coverage file changes.
  • No warnings when coverage data is outdated.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft