From 7aecbe25cd3b97c198afef2b4ee47e6091f57c63 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Mon, 17 Mar 2025 02:39:55 -0700 Subject: [PATCH] minor change --- .../void/browser/react/src/sidebar-tsx/SidebarChat.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index ecc73f98..10288453 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -1336,8 +1336,9 @@ const toolNameToComponent: { [T in ToolName]: { name={`${child.name}${child.isDirectory ? '/' : ''}`} className='w-full overflow-auto py-1' onClick={() => { - commandService.executeCommand('workbench.view.explorer'); - explorerService.select(child.uri, true); + commandService.executeCommand('vscode.open', child.uri, { preview: true }) + // commandService.executeCommand('workbench.view.explorer'); // open in explorer folders view instead + // explorerService.select(child.uri, true); }} />))} {value.hasNextPage &&