Closed geraintwhite closed 2 years ago
@grit96 Thanks for submitting an issue! There is a bit of complexity here given the security Microsoft has put into the webview api for vscode extensions https://code.visualstudio.com/api/extension-guides/webview#loading-local-content . By default not many urls and resources are available to navigate between (I can see the expected errors when I open my debugger on a coverage report).
It is odd that the local workspace files are not exempt given that the docs say they are by default... Might be something to look into around anchor links that are generated by the coverage report tooling.
If someone wants to investigate this further, take a look at the WebviewOptions
and start passing in something other then defaults to the webview panel create :thinking:
https://github.com/ryanluker/vscode-coverage-gutters/blob/master/src/extension/gutters.ts#L58-L68
Fixed with https://github.com/ryanluker/vscode-coverage-gutters/pull/363 and will go out into the next release.
Describe the bug None of the links to files work in the Preview Coverage Report
To Reproduce Steps to reproduce the behaviour:
Expected behaviour As when viewing the coverage report in the browser, clicking the link should display the coverage report for that file
Screenshots
Desktop (please complete the following information):