Skip to content

Unable to open <link /> href using CTRL + Click functionality in VS Code #42897

@knowltonGitHub

Description

@knowltonGitHub
  • VSCode Version: Code 1.19.3 (7c4205b, 2018-01-25T10:36:34.867Z)
  • OS Version: Windows_NT x64 10.0.16299
  • Extensions: none

Steps to Reproduce:

  1. In Visual Studio Code, open a file in the "Explorer".
  2. File opens fine.
  3. Find same file referenced as a LINK href in a HTML file using CTRL + Click.
4. VS Code will report:

Unable to open 'hover-min.css': File not found (file:///hover-min.css). "Create File" } "Cancel"

Screen recording:
https://www.youtube.com/watch?v=9IGDvcDbyqw

Tried a few things, none of them worked:

  1. Closed VS Code. Deleted the hidden vscode folder. Re-opened VS Code. Tried above steps. Still able to reproduce problem.
  2. Tried removing "read only" attribute for the parent folder:

C:\xampp\htdocs\ukfnew\

Still able to reproduce problem afterwards. I was not even sure this would work, it was a total WAG, but decided to try it.

TEMPORARY WORKAROUND: Just open the needed file using VS Code Explorer.

I request steps to fix this if this is not a bug or able to be resolved simply.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions