Repository navigation
Closed
Labels
area:autocompleteRelates to the auto complete featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorneeds-triageos:macHappening specifically on Mac
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: macOS 14.3.1
- Continue: v0.9.79 (pre-release)
- IDE: VSCode
ollama 0.1.27
using devcontainerDescription
While using tab autocomplete inside a dev container, this message occurs:
Unable to read file '/workspaces/path-to-in-dev-container/main.go' (Error: Unable to resolve nonexistent file '/workspaces/path-to-in-dev-container/main.go')
I think it tries to get context, but look at host instead of real path to volume.
When I use chat with file as context, everything is okay.
Thanks in advance
To reproduce
Open folder in dev container
Enable tab complete
Type
Log output
[Extension Host] Error generating autocompletion: Error: Unable to read file '/workspaces/go-templ-ctl/src/cli/main.go' (Error: Unable to resolve nonexistent file '/workspaces/go-templ-ctl/src/cli/main.go')
at n.F (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:657:19968)
at n.D (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:657:19763)
at async f.M (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2203:42897)
at async f.readStream (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2203:42654)
at async L.Cb (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2192:13459)
at async L.resolve (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2192:11906)
at async s.W (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2203:39048)
at async h.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2192:25544)
at async C.acquire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:37:3392)
at async u.createModelReference (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2192:27121)
p @ console.ts:137Reacted by Quentin McGaw, Dan Bader, Sander Bollen, daniel and cdawg
Metadata
Metadata
Assignees
Labels
area:autocompleteRelates to the auto complete featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorneeds-triageos:macHappening specifically on Mac
Activity
LTangaF commentedon Mar 11, 2024
I've seen this, too. I disabled tab-completion to avoid it, though I was hoping to try using it. Containers and remote containers is my normal operating mode.
aharonamir commentedon Mar 13, 2024
I also that the option for remote-container/linux will be available as I am developing from windows on a remote linux, and the ollama runs on windows
LTangaF commentedon Mar 13, 2024
Local containers just seems like a directory mapping issue. Remote containers may just be that, but it may also be that the extension is largely running in the local chromium environment, but the file browser (etc) is being served up by a remote vscode server
aharonamir commentedon Mar 13, 2024
My issue is that the extension runs on the local machine, which is windows but the code is on the remote machine, which is linux.
So it cannot access the file on the remote or cannot handle the linux file path (the '/' instead of ')
jpaveg commentedon Mar 17, 2024
Also having this issue. Seeing this error:
The correct filePath should be prepended with
home/. Seems similar to a previous issue involving remote containers.kicedz commentedon May 3, 2024
I'm using WSL2 Ubuntu (with Docker too) on my Windows machine, also dockerized containers.
I'm getting the same error Unable to read file >> from my wsl2 ubuntu.
Any fixes?
jpaveg commentedon May 4, 2024
make sure you're on pre-release
platform-kit commentedon Jun 21, 2024
Is this solved?
olecsys commentedon Aug 30, 2024
Hey guys, any updates on this issue?
github-actions commentedon Mar 9, 2025
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
sanderbollen-clockworks commentedon Mar 14, 2025
Any updates on this? We are experiencing similar behaviour on remote development feature in Jetbrains products.
ansible42 commentedon Apr 17, 2025
I got it working in VSCode by opening up the proxy. Still having issues getting it working with clion
samrocketman commentedon Jul 28, 2026
This does not appear to be completed for VS Code Dev Containers.
lsand it cannot.My host is PopOS 24.04 Linux (not Mac).