You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem is that you launched code-server with ?workspace=/root/code-server. A "workspace" in VS Code parlance is a file that contains a list of folders. So, it tries to add that directory to the /root/code-server workspace file, but it is a directory not a file. You could try instead something like ?workspace=/root/code-server/project.code-workspace or something like that (.code-workspace is the file ending VS Code usually uses), or remove ?workspace and create the workspace from code-server's menu instead.
Is there an existing issue for this?
OS/Web Information
code-server --version
: i cannot run that command currently but it is super recentim clicking on open folder and it freaks out because the folder i am trying to open is a folder? this used to work just fine a week ago
Steps to Reproduce
Expected
it should have just simply opened the folder and worked like it used to
Actual
it throws an error and doesnt open a folder.
Logs
Screenshot/Video
2025-05-21.13-21-47.mp4
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: