finalize terminal completion provider API (#271338)

This commit is contained in:
Megan Rogge
2025-10-23 11:57:05 -04:00
committed by GitHub
parent 1c2e29a3c7
commit a1b4ecaa32
18 changed files with 371 additions and 364 deletions

View File

@@ -95,7 +95,7 @@ suite('Terminal Suggest', () => {
const currentCommandString = getCurrentCommandAndArgs(commandLine, cursorIndex, undefined);
const showFiles = testSpec.expectedResourceRequests?.type === 'files' || testSpec.expectedResourceRequests?.type === 'both';
const showFolders = testSpec.expectedResourceRequests?.type === 'folders' || testSpec.expectedResourceRequests?.type === 'both';
const terminalContext = { commandLine, cursorIndex, allowFallbackCompletions: true };
const terminalContext = { commandLine, cursorIndex };
const result = await getCompletionItemsFromSpecs(
completionSpecs,
terminalContext,