Cursor works well when you are not using VS Code’s workspace feature. When I have a workspace open with multiple folders, however, Cursor seems to get confused.
For example, let’s say I have two folders: A React project named “my-react” and a backend project named “my-python”.
workspace
|
+ -- my-react/ # Located at /home/myname/code/my-react
| + -- README.md
|. + -- package.json
+ -- my-python/ # located at /home/myname/code/my-python
+ -- README.md
+ -- pyproject.toml
Let’s say I ask the agent to run “ls”, which directory the agent runs ls on is poorly defined.
And if I ask the agent “what is the root directory?” Cursor’s agent appears to refer to the first folder in the workspace. I don’t think this is clearly defined either.
It’d be great to get some clarity on how to talk to Cursor’s agent/chat about workspaces.
Thanks.