Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutter icons in VS Code are displayed in the wrong line #1211

Open
1 of 2 tasks
kevinkasper opened this issue Jul 17, 2024 · 3 comments
Open
1 of 2 tasks

Gutter icons in VS Code are displayed in the wrong line #1211

kevinkasper opened this issue Jul 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kevinkasper
Copy link

Please provide the environment you discovered this bug in.

Clone minimal reproducible example:

https://github.com/kevinkasper/vitest-vscode-gutter-icons-mre

  1. yarn install
  2. Open src/app/app.component.spec.ts file
  3. Run all tests within the Test Explorer

Which area/package is the issue in?

vite-plugin-angular

Description

The gutter icons in VS Code are displayed in the wrong line if the @analogjs/vite-plugin-angular plugin is used.

Below is an example with activated plugin in the vite.config.ts and empty lines in the spec file:

image

Below is an example without activated plugin in the vite.config.ts and empty lines in the spec file:

image

In the second screenshot, the tests fail, but the gutter icons are in the right place.


This problem has already been reported in the vitest-dev/vscode repository. In the following issue it was confirmed that it is a problem with @analogjs/vite-plugin-angular:

vitest-dev/vscode#400

Many thanks in advance!

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
@kevinkasper kevinkasper added the bug Something isn't working label Jul 17, 2024
@Kendox-STA
Copy link

Same issue here, which prevents us from evaluating Vitest. Would be great to get that resolved.

@rafagsiqueira
Copy link

rafagsiqueira commented Sep 9, 2024

Here too. The gutter icons move all over the place when adding comments to tests. Was this fix released? Just tried to use the most recent beta versions and I still get the error.

@rafagsiqueira
Copy link

@brandonroberts has this fix made it to one of the releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants