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

"editor.links": true => File not found error with absolute href paths #40445

Closed
pdesjardins90 opened this issue Dec 18, 2017 · 0 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues verified Verification succeeded
Milestone

Comments

@pdesjardins90
Copy link

In an HTML file, when clicking a link with an absolute href to a file in my project, I get this error: 'Impossible to open my-linked-file.html' File not found: (file:///file:/Users/MyUsername/Documents/MyProject/my-linked-file-name.html)

This started happening immediately after I updated vscode to 1.19. It doesn't happen with a relative path.

  • VSCode Version: 1.19.0
  • OS Version: macOS 10.13.1

Steps to Reproduce:

  1. Have a with an absolute href: href="/src/my-linked-file.html"
  2. Click it, see the error
  3. Change it to a relative path: href="my-linked-file.html"
  4. Click it, you're redirected to the file with no error

Reproduces without extensions: Yes

@vscodebot vscodebot bot added the html HTML support issues label Dec 18, 2017
@aeschli aeschli added the bug Issue identified by VS Code Team member as probable bug label Dec 19, 2017
@aeschli aeschli added this to the December 2017/January 2018 milestone Dec 19, 2017
@tsalinger tsalinger added the verified Verification succeeded label Feb 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants