Commit 733b3af
fix(editor-redirect): close primary sidebar instead of revealing Explorer (3.53.4)
When defaultRenderContext is 'editor', redirectSidebarToEditor() used to call 'workbench.view.explorer' after revealing CRC in an editor tab, which kept the primary sidebar open showing the file Explorer. That made it look like launching CRC always popped open the left pane.
We now call 'workbench.action.closeSidebar' instead so the primary sidebar is tucked away after CRC lands in the editor group, matching the user's 'editor' preference.
Co-Authored-By: Oz <oz-agent@warp.dev>1 parent 6a18155 commit 733b3af
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
964 | | - | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
965 | 970 | | |
966 | 971 | | |
967 | 972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments