Show Coverage Golang with VSCODE
I have seen in the README how I can configure the task to enable the test coverage, but how can I display the line or branch coverage in VS Code as an overlay of a file or many files? I am using Golang with Gazelle and Bazel 8.0.2.
With the Golang Plugin, for example, I can toggle the Test Coverage (see images below)
Is there something similar for the Bazel Plugin? As far as I can see, there is an experimental feature, but I can't really see how to use it for Golang. It seems to be tested if I look at the state of the state Issue #362 for Golang, so I assume it should work, but I can't figure out how.
Not sure what you already tried and which step you are currently stuck at. Could you share a repro? E.g., are you trying to get this to run on an open-source repro? If so, could you share a link to that repro?