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

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

Open
3 tasks done
sestinj opened this issue Apr 26, 2024 · 1 comment
Open
3 tasks done

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

sestinj opened this issue Apr 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sestinj
Copy link
Contributor

sestinj commented Apr 26, 2024

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 sestinj added the bug Something isn't working label Apr 26, 2024
@sestinj sestinj self-assigned this Apr 26, 2024
@sestinj sestinj changed the title Autocomplete cannot read file on Windows SSH to Linux [CON-231] Autocomplete cannot read file on Windows SSH to Linux Apr 26, 2024
@MichelePrimavera
Copy link

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'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants