-
Notifications
You must be signed in to change notification settings - Fork 45
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
CTRL + CLICK in Output view on Windows in WSL does not work properly #2515
Comments
Can you please provide some example/screenshot of the wrong line mapping? |
Thanks. Hmmm, interesting, looks like there's some internal link position shift happens for some reason. I don't think the issue is related to WSL though. We'll try to create a sample repo based on your diagnostics report to reproduce the issue. A couple of questions before we proceed:
|
@ArtemGovorov happy to share the repo, but do you have an email I can send it to? I would not like to share too publicly. Thanks. As per #2, the diagnostic report was run when I had on |
@tomitrescak Awesome, please send it to hello@wallabyjs.com. |
Artem, no need for repo. I took the same project to windows (not WLS) and it works ok. I tried with a clean project and it messes up in WLS. |
@tomitrescak Thanks for checking! Are you using WSL1 or WSL2?
Can you please try it on this sample repo: /~https://github.com/wallabyjs/wallaby-jest-snapshots if it messes up links for you? |
Hi, I'm on WSL 2, it works with Jest, but it is messing up with mocha (I just changed the target to "mocha").
|
Hi @tomitrescak, Thanks for reporting the issue. We diagnosed it and apparently there is a bug in VS Code Remote, it for some reason ignores line/column numbers fragment in file URLs. We are going to report the issue the VS Code team, but in mean time we fixed it on our side and released the fix with v1.0.239. |
Issue description or question
Hi, I am on Windows VS Code, running code in Ubuntu in WSL.
It is a Typescript project. The output display correct line number of the error, but when I ctrl+click it it takes me to the correct file but incorrect line.
Wallaby diagnostics report
The text was updated successfully, but these errors were encountered: