Amit Haridas
0d3df32140
feat(quick-switcher): derive workspace dir from active tab
...
The explorer panel's explorerCurrentDir is hardcoded to null, so
the Quick Switcher's workspace toggle was a no-op. Rather than fix
the broken explorer flow, derive the workspace from the active
tab's filePath's parent directory — the most reliable source we
have without restructuring that panel.
deriveWorkspaceDir() handles POSIX and Windows paths (including
mixed separators and trailing separators), returns null for
untitled / empty inputs so the workspace toggle silently stays
off in those cases.
10 new tests cover POSIX, Windows, mixed-separator, trailing
separator, UNC, and invalid input paths.
Amit Haridas
2026-09-30 20:28:22 +05:30
..
2026-09-14 21:36:02 +05:30
2026-09-14 20:46:49 +05:30
2026-09-30 20:04:32 +05:30
2026-09-05 20:48:39 +05:30
2026-09-14 22:37:02 +05:30
2026-09-14 00:00:16 +05:30
2026-09-14 00:00:16 +05:30
2026-09-05 21:53:34 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 14:56:05 +05:30
2026-09-14 14:56:05 +05:30
2026-09-14 14:56:05 +05:30
2026-08-23 19:31:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 21:36:02 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 21:36:02 +05:30
2026-08-23 19:31:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 21:41:58 +05:30
2026-09-15 09:23:58 +05:30
2026-09-14 21:36:02 +05:30
2026-09-14 23:09:23 +05:30
2026-09-15 09:23:58 +05:30
2026-09-15 09:23:58 +05:30
2026-09-14 14:56:05 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-05 21:53:34 +05:30
2026-09-30 20:17:57 +05:30
2026-09-30 20:14:13 +05:30
2026-09-30 20:01:54 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-06-30 12:56:33 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 00:00:16 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 23:59:53 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 22:48:45 +05:30
2026-08-23 19:31:33 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-04-23 22:55:12 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 21:06:28 +05:30
2026-09-14 21:06:28 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 21:53:34 +05:30
2026-06-30 13:57:34 +05:30
2026-09-30 19:53:44 +05:30
2026-09-30 19:58:18 +05:30
2026-09-14 14:56:05 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 20:48:39 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 14:56:05 +05:30
2026-08-23 19:31:33 +05:30
2026-09-05 21:53:34 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 20:11:44 +05:30
2026-08-23 19:31:33 +05:30
2026-09-05 20:48:39 +05:30
2026-08-23 19:31:33 +05:30
2026-09-30 20:28:22 +05:30
2026-09-30 19:56:50 +05:30
2026-09-14 14:56:05 +05:30