Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Coverage.py HighlighterNew to Visual Studio Code? Get it now.
Coverage.py Highlighter

Coverage.py Highlighter

Namit Nathwani

|
1,092 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 (covpyhighlighter)

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:

  • covpyhighlighter.coverageFileName: Name of the json file containing coverage data
  • covpyhighlighter.coverageFilePath: Path to the folder containing the coverage JSON file
  • covpyhighlighter.replacePath: Substring in paths that needs to be replaced
  • covpyhighlighter.replacePathWith: Substring to replace with in the paths
  • covpyhighlighter.colors.executedColor: Background color value for executed lines
  • covpyhighlighter.colors.excludedColor: Background color value for excluded lines
  • covpyhighlighter.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