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

"Error: Unable to resolve non-existing file" on JSDoc file link #130968

Closed
EverlyScott opened this issue Aug 17, 2021 · 4 comments
Closed

"Error: Unable to resolve non-existing file" on JSDoc file link #130968

EverlyScott opened this issue Aug 17, 2021 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities javascript JavaScript support issues verified Verification succeeded
Milestone

Comments

@EverlyScott
Copy link

Issue Type: Bug

When trying to create a link to a relative file using JSDoc and markdown like this:

/** [link](./file.js) */
const test = 'test'

you can try to click on the link, and it'll produce the following error:

# Unable to open 'file.js"'
Unable to read file '\file.js" (Error: Unable to resolve non-existing file '\file.js')

VS Code version: Code 1.59.0 (379476f, 2021-08-04T23:13:12.822Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 3593)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.93GB (15.04GB free)
Process Argv --crash-reporter-id b49bd496-32d9-4a43-8329-536816f85c17
Screen Reader no
VM 40%
Extensions (17)
Extension Author (truncated) Version
systemd-unit-file coo 1.0.6
vdf GEE 0.0.7
beautify Hoo 1.5.0
discord-vscode icr 5.7.0
sftp lix 1.12.9
languague-renpy Luq 1.1.0
csharp ms- 1.23.14
python ms- 2021.8.1105858891
vscode-pylance ms- 2021.8.1
jupyter ms- 2021.8.1195043623
remote-wsl ms- 0.58.2
live-sass rit 3.0.0
LiveServer rit 5.6.1
typescript-initializer Scr 0.0.2
sass-indented syl 1.8.17
vscode-icons vsc 11.6.0
vscode-nginx wil 0.7.2

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
vscextlangct:30333562
binariesv615:30325510
pythonvssor306:30344512
bridge0708:30335490
vstre464:30350172
bridge0723cf:30351748

@mjbvz mjbvz added windows VS Code on Windows issues bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities javascript JavaScript support issues labels Aug 17, 2021
@AiverReaver
Copy link
Contributor

AiverReaver commented Aug 20, 2021

can I work on this issue? @mjbvz

@EverlyScott

This comment has been minimized.

@mjbvz
Copy link
Collaborator

mjbvz commented Feb 3, 2022

Should be fixed by #142055. Works for both images and links relative to the current file

@mjbvz mjbvz closed this as completed Feb 3, 2022
@mjbvz mjbvz removed the windows VS Code on Windows issues label Feb 3, 2022
@mjbvz
Copy link
Collaborator

mjbvz commented Feb 3, 2022

See #86564 for the issue tracking more complete support for these paths. Right now they only work properly within a file

@lramos15 lramos15 added the verified Verification succeeded label Feb 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2022
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 help wanted Issues identified as good community contribution opportunities javascript JavaScript support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants