mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-22 22:12:49 +01:00
* Reveal Files view when empty file editor is opened in single-pane layout Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: reveal Files detail when the empty Files editor becomes active In the single-pane layout, the empty Files editor placeholder shows a "Select a file..." landing tab whose content (the Files tree) lives in the detail panel (auxiliary bar). Opening it while the detail was closed was a dead end. The detail-panel strategy now reveals the Files detail when the placeholder becomes the active editor, so the `+` Files action and selecting the Files tab both surface the Files view. Keyed on the active-editor signal so the managed auto-ensured Files tab (opened inactive as a background tab) never triggers it, preserving the Editor-only default; hiding the detail sticks; and it is skipped while the whole side pane is closed or during a session-switch restore. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: trim inline comment on the Files-detail reveal listener Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>