Select folder dialog in agent wiindow

On windows, the folder selection dialog always opens to my downloads folder. I have a folder with all my git repositories that is 99% of the time where I want to set up my workspace. Is there a way to change this default location?

I’ve tried going into the IDE and changing this vscode setting:

But it only changes the IDE’s open folder dialog, not the agent window

Thanks for the screenshots. I checked how the starting folder is selected.

files.dialog.defaultPath is only used as a fallback when Cursor has no more specific recent location. The Agents Window keeps separate recent-file context from the IDE, so that context can keep the Windows picker opening in Downloads even though the setting points to your repos folder.

There isn’t currently a separate Agents Window setting that forces the native folder picker to start at a particular path every time, but I’ve shared this feedback with the team for consideration!

For now, the most reliable workaround would be to Pin C:\Users\gkadokura\repos Repo in the Agents Window so that it’s always on top of your chats and easy to find.

Your configured path is valid, but the Agents Window’s recent location is taking precedence in your particular case.

Thanks @kevinn for investigating! To clarify, the C:\Users\gkadokura\repos is a parent folder where I keep all my git repos, so I don’t actually want to use it as a workspace, but rather use it as the starting folder when setting up a new workspace.

I did talk to a colleague who’s open folder dialog opens to his home directory (C:\Users\username) instead of the downloads folder, I’m not sure what is different about his setup.

Got it we took another look at this and it I don’t think we have plans to change the default folder open at this time, sorry to disappoint

To add a little more on this, the folder dialog picks its starting location from a series of fallbacks: the last folder you opened, then the last file you opened, then your files.dialog.defaultPath setting, then your home directory. Since a recent location always wins over the setting, and the Agents Window tracks its own recent history separately from the IDE, it keeps opening to Downloads instead of your configured path.

That behavior would actually be fine, but at least for me it does not seem to track the last folder I opened. I navigate away from Downloads and set up my workspace from other folders, but every time I re-open the dialog it opens to Downloads.

I tried clearing a couple settings and it didn’t seem to change the default folder… If you’re okay with this I would probably leave as is