-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Cannot open detected link #21126
Comments
@alexandrudima the links are resolved relative to the opened folder in VS Code, not the cwd of the terminal. A solution to the latter is being explored in #20676 Did you have the vscode directory open? |
Yes, I had
I see it is hard to say what should be considered the base. If we use the workspace path as the base, then perhaps interpreting |
Until #20676 is looked into we don't have access to the shell's current working directory so this is blocked on that. On empty workspaces, I've been thinking about the idea of validating the links before adding them to the DOM. It's probably a good idea, to avoid possible performance relayout issues from editing the DOM, a class could be added to indicate the link is invalid. I'll track that in #21226 |
Links are now validated (however there is a discussion to remove this for perf reasons #25024). |
Testing #21021
linkComputer.test.ts
cd src\vs\editor\test\common\modes
cat .\linkComputer.test.ts
The text was updated successfully, but these errors were encountered: