continue icon indicating copy to clipboard operation
continue copied to clipboard

[CON-231] Autocomplete cannot read file on Windows SSH to Linux

Open sestinj opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS:Windows, SSH to Linux
- Continue:*
- IDE:VS Code

Description

Happens after opening parenthesis is typed, caused by attempting to use LSP to find the definition of the file

To reproduce

No response

Log output

Error generating autocompletion:  Error: Unable to read file '\path\to\file' (Error: Unable to resolve nonexistent file '\path\to\file')
    at n.F (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:657:19968)
    at n.D (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:657:19763)
    at async l.M (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2370:42596)
    at async l.readStream (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2370:42353)
    at async L.Cb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2359:13615)
    at async L.resolve (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2359:12062)
    at async s.W (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2370:38746)
    at async u.r (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2359:25720)
    at async k.acquire (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:37:3320)
    at async d.createModelReference (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2359:27297)

From SyncLinear.com | CON-231

sestinj avatar Apr 26 '24 16:04 sestinj

Same issue "Error loading submenu items from file: EntryNotFound (FileSystemError): Unable to resolve nonexistent file 'vscode-remote://wsl/home/gianluca/projects/srm/workspace/directus/api/extensions/hooks/init-config-data/data/1#srm_types'"

MichelePrimavera avatar May 03 '24 09:05 MichelePrimavera