minor change

This commit is contained in:
Andrew Pareles 2025-03-17 02:39:55 -07:00
parent f79d438084
commit 7aecbe25cd

View file

@ -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 &&