From 1d40c14d508af88ff6ad8ea3cb7aad573c9695f7 Mon Sep 17 00:00:00 2001 From: Mathew Pareles Date: Wed, 7 May 2025 19:42:32 -0700 Subject: [PATCH] remove logging --- .../contrib/void/browser/react/src/util/inputs.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index e5d4dad6..937bf99e 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -186,12 +186,8 @@ const getOptionsAtPath = async (accessor: ReturnType, path: const toolsService = accessor.get('IToolsService') - console.log('path:' + JSON.stringify(path), ' optionText: ' + optionText) - - const searchForFilesOrFolders = async (t: string, searchFor: 'files' | 'folders') => { - console.log('AAAA', t, searchFor) try { const searchResults = (await (await toolsService.callTool.search_pathnames_only({ @@ -303,7 +299,6 @@ const getOptionsAtPath = async (accessor: ReturnType, path: let generateNextOptionsAtPath: GenerateNextOptions | undefined = undefined for (const pn of path) { - console.log('BBBB') const selectedOption = nextOptionsAtPath.find(o => o.fullName.toLowerCase() === pn.toLowerCase()) @@ -316,12 +311,10 @@ const getOptionsAtPath = async (accessor: ReturnType, path: if (generateNextOptionsAtPath) { - console.log('CCCC') nextOptionsAtPath = await generateNextOptionsAtPath(optionText) } else if (path.length === 0 && optionText.trim().length > 0) { // (special case): directly search for both files and folders if optionsPath is empty and there's a search term - console.log('DDDD') const filesResults = await searchForFilesOrFolders(optionText, 'files') || []; const foldersResults = await searchForFilesOrFolders(optionText, 'folders') || []; nextOptionsAtPath = [...foldersResults, ...filesResults,] @@ -446,7 +439,6 @@ export const VoidInputBox2 = forwardRef(fun else throw new Error(`Unexpected leafNodeType ${option.leafNodeType}`) chatThreadService.addNewStagingSelection(newSelection) - console.log('selected', option.uri?.fsPath) } else {