Allow boolean quickSuggestions during transition

This commit is contained in:
Daniel Imms
2025-02-15 04:34:23 -08:00
parent 250fd8bbb0
commit 17411566af
3 changed files with 7 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ suite('Terminal Suggest', () => {
const prefix = commandLine.slice(0, cursorPosition).split(' ').at(-1) || '';
const filesRequested = testSpec.expectedResourceRequests?.type === 'files' || testSpec.expectedResourceRequests?.type === 'both';
const foldersRequested = testSpec.expectedResourceRequests?.type === 'folders' || testSpec.expectedResourceRequests?.type === 'both';
const terminalContext = { commandLine, cursorPosition };
const terminalContext = { commandLine, cursorPosition, allowFallbackCompletions: true };
const result = await getCompletionItemsFromSpecs(
completionSpecs,
terminalContext,