Go to file
2024-09-01 15:38:40 +02:00
.vscode Init extension 2024-09-01 13:48:00 +02:00
resources Add coverage summary view 2024-09-01 15:38:40 +02:00
src Add coverage summary view 2024-09-01 15:38:40 +02:00
.eslintrc.json Init extension 2024-09-01 13:48:00 +02:00
.gitignore Init extension 2024-09-01 13:48:00 +02:00
.vscode-test.mjs Init extension 2024-09-01 13:48:00 +02:00
.vscodeignore Init extension 2024-09-01 13:48:00 +02:00
CHANGELOG.md Init extension 2024-09-01 13:48:00 +02:00
coverage.json Init extension 2024-09-01 13:48:00 +02:00
LICENSE Init extension 2024-09-01 13:48:00 +02:00
package-lock.json Init extension 2024-09-01 13:48:00 +02:00
package.json Add coverage summary view 2024-09-01 15:38:40 +02:00
README.md Init extension 2024-09-01 13:48:00 +02:00
tsconfig.json Init extension 2024-09-01 13:48:00 +02:00
vsc-extension-quickstart.md Init extension 2024-09-01 13:48:00 +02:00

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.