提交 df8e43d8 编写于 作者: M Matt Bierner

Trigger parameter hints when using insertParametersForFunctionCalls in js/ts

Fixes #58540
上级 71f99d08
......@@ -393,6 +393,7 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider
const shouldCompleteFunction = await this.isValidFunctionCompletionContext(filepath, item.position, token);
if (shouldCompleteFunction) {
item.insertText = this.snippetForFunctionCall(item, detail);
item.command = { title: 'triggerParameterHints', command: 'editor.action.triggerParameterHints' };
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册