microsoft / vscode-java-test

Run and debug Java test cases in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test
Other
295 stars 127 forks source link

Inline code coverage disappeared on latest pre-release #1674

Closed heruan closed 6 months ago

heruan commented 6 months ago

With the latest pre-release of Java Test (v0.40.2024030709) in Code Insiders (1.88.0-insider), I cannot see inline coverage in the editor. Until last week a I was able to toggle inline coverage in the editor hovering the cursor on the line numbers, but now that's gone. Has it moved elsewhere? I cannot find anything in command either.

Screenshot 2024-03-18 at 12 28 12

jdneo commented 6 months ago

What's your vscode insider version? You can copy it from the About page.

AFAIK, there is some API changes happen in VS Code side.

heruan commented 6 months ago

What's your vscode insider version? You can copy it from the About page.

AFAIK, there is some API changes happen in VS Code side.

Version: 1.88.0-insider (Universal) Commit: 9ccb0fa738a2f7a1c5328800c9fe18f4dd5b4f8a Date: 2024-03-18T05:50:07.245Z Electron: 28.2.6 ElectronBuildId: 27476517 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin arm64 23.3.0

jdneo commented 6 months ago

Looks like it's a regression from VS Code. Because when I used the latest test runner extension on VS Code stable, it's working.

I filed a ticket at upstream: https://github.com/microsoft/vscode/issues/208055

jdneo commented 6 months ago

I've released a new pre-release version 0.40.2024032505 which should fix this issue.

Please note that 0.40.2024032505 can only be used in 1.88 insiders now, since there is an api breaking change.