Closed belgattitude closed 2 years ago
@belgattitude yes, I think it's a bug, and now the working directory is project root for workspaces. I adjusted working directory to package's directory. Could you try attached version? Thanks.
Wow that was fast :smile: . It works perfectly, thanks for for quick support.
@belgattitude yes, I think it's a bug, and now the working directory is project root for workspaces. I adjusted working directory to package's directory. Could you try attached version? Thanks.
I can't find the version(0.6.4) in the market. And the zip package does not support webstorm version: 2021.2.2
@windylaugit Compatibility range of version 0.6.4 is 2021.3 — 2022.2.2 and 2021.2 is not compatible.
@windylaugit Compatibility range of version 0.6.4 is 2021.3 — 2022.2.2 and 2021.2 is not compatible.
Ok,I got it! Thinks!
Hey @linux-china
First of all, a huge thank you for this marvelous plugin.
In monorepos the cli don't run in the workspace directory but in the root which creates some issues. It's stange because when looking at the code it should actually work: https://github.com/linux-china/vitest-jetbrains-plugin/blob/main/src/main/kotlin/com/github/linuxchina/jetbrains/plugins/vitest/VitestBaseRunLineMarkerProvider.kt#L62
I'm using latest PhpStorm 2022.2.1 with latest vitest plugin.
Tested on this repo: https://github.com/belgattitude/nextjs-monorepo-example.
Is it an issue on your side too ?
PS: a picture
When running the same command from the cli but in the workspace folder, it works