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.
| |