Represents a collection of completion items to be presented in the terminal.
const list = new TerminalCompletionList([ { label: 'ls', replacementIndex: 0, replacementLength: 0, kind: TerminalCompletionItemKind.Method }], { filesRequested: true, cwd: Uri.file('/home/user') }); Copy
const list = new TerminalCompletionList([ { label: 'ls', replacementIndex: 0, replacementLength: 0, kind: TerminalCompletionItemKind.Method }], { filesRequested: true, cwd: Uri.file('/home/user') });
Creates a new completion list.
Optional
The completion items.
Indicates which resources should be shown as completions for the cwd of the terminal.
Resources that should be shown in the completions list for the cwd of the terminal.
Represents a collection of completion items to be presented in the terminal.
Example: Create a completion list that requests files for the terminal cwd