Problems with devcontainer in cursor

Describe the Bug

When i start cursor with a code-workspace file, it takes the name of that file as the project name. That us as expected. But when i have a devcontainer in that project, cursor opens a new window (which is a behaviour, i really don’t like) and it forgets the code-workspace file and the correct name. In the new window it looses not only that workspace name, it also doesn’t remember the size of the window before and until that change the window was started with a open terminal (when i closed it with an open terminal before).

Steps to Reproduce

Just by starting a project with cat code-workspace file and a devcontainer in it

Expected Behavior

Keep the name and the other things (size, open terminal) for the project

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (Universal)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z (1 day ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Thanks for reporting. Can you update to the latest version and see if this issue persists?

I updated. Now it doesn’t start a new window anymore. That is perfect. but still the Workspacename isn’t the the correct one. In VSC, when i start with a Workspace file and a devcontainer environment, it will keep the Workspace name. in cursor it changes to the workspace name in the devconatiner (which is different and in my case the same in each of my projects, so that i can’t decide which project i am working currently on). And cursor doesn’t remember that i had an open terminal in the devcontainer the last time i used that project (VSC does), so i have to start a new terminal each time.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.