mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
finalize terminal completion provider API (#271338)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user