-
Notifications
You must be signed in to change notification settings - Fork 13
Coverage highlight disappears after switching files #24
Comments
Also happening in VS Codium 1.54.2 on Windows 10, version 1.0.3. |
The following message appears in the Log (Main) window:
|
In the meantime I've turned on |
Looks like, at least according to the VSCode documentation, the Doc: https://code.visualstudio.com/api/references/vscode-api#window.onDidChangeActiveTextEditor This is potentially what's causing the problem. @pilat Could you find some time to look at this please? |
This is by far the best coverage tool I have seen.. It only shows coverage if you have a Single file open. |
To be honest, I just switched to this instead: https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters You can get it from the extension downloader, by searching for "coverage gutters". Make sure to grab the original, not the fork. The settings are a bit awkward, especially the color naming, but once I've set it up with the same colors as in this extension, I don't think I'll be going back, even if this one gets fixed. |
I had actually switched from "Coverage Gutters" to this one. |
PR #26 fixes this problem for me, making the extension usable again. |
@pilat can you fix this issue? It looks like there is a PR that might resolve it, at least enough to make it usable again. |
Since the latest VSCode update the code coverage highlighting disappears after switching between files nearly always.
Closing all files and open the covered file solves the problem. Switching e.g. between a covered file and the spec file and back, hides the highlighting again - but only if you open the files (not if you just preview them).
I'm using VSCode 1.54.1 on MacOS Big Sur.
Code Coverage Highlighter is installed in Version 1.0.3.
Let me know if you need any other information!
The text was updated successfully, but these errors were encountered: