Feature request for product/service
Cursor IDE
Describe the request
Problem*
In a multi-root workspace with many repos, each terminal is usually tied to one repo (cwd / profile / tab). The Project Explorer often stays on a different root or collapsed section, so I hunt for the right folder after every terminal switch.
Requested behavior
When I focus a terminal (click tab or keyboard), Cursor should:
- Resolve which workspace folder matches that terminal (prefer shell-integration cwd, else creation cwd, longest path prefix match against workspace roots).
- In Project Explorer: expand that workspace folder if collapsed, reveal/select it, and scroll so it is visible.
- Keep focus in the terminal (do not steal focus unless there is a setting for it).
Nice-to-have settings
cursor.explorer.syncOnTerminalFocus: off | workspaceRoot | deepestFolder (default: off)- Optional: reveal-only vs select, scroll alignment, debounce when switching terminals quickly.
Why it matters
Same pain as agent chats that touch multiple git repos—I need the tree to reflect where I’m working now without manual scrolling in a long explorer.