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
{{ message }}
Repository navigation
Quick Open defaults to the previous worktree copy of a file after switching folder location #349761
Testing #349696 · Windows 11 x64 · Code OSS ade7f1b
Open a local Git folder with a committed app.ts. Enable chat.editorWindow.enableWorktree and reload.
Start a Copilot chat with New Worktree selected. Open app.ts from Explorer in that worktree.
Click Folder Location in the status bar and select the original folder. Leave both copies of app.ts on disk.
Press Ctrl+P, type app.ts, and press Enter without changing the selection. Hover the editor tab to check which copy opened.
Expected: Enter opens app.ts from the current folder.
Actual: The previous worktree's copy is selected first under recently opened. The current folder's copy is second under file results. Opening app.ts from Explorer opens the correct copy.
Related: #271606. Neither worktree was deleted here.
Activity
Open recently opened files under the folder's current location in Qui…
Revert the Quick Open remap of recently opened entries
workspaces: keep a recently opened list per folder location
Open recently opened files under the folder's current location in Qui…
Revert the Quick Open remap of recently opened entries
workspaces: keep a recently opened list per folder location
search: open recently opened files under the folder's current locatio…