Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index b5b64e33e0..49a8ca4edb 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -87,6 +87,12 @@ export function shuffleCrateGraph(ctx: CtxInit): Cmd {
};
}
+export function triggerParameterHints(_: CtxInit): Cmd {
+ return async () => {
+ await vscode.commands.executeCommand("editor.action.triggerParameterHints");
+ };
+}
+
export function matchingBrace(ctx: CtxInit): Cmd {
return async () => {
const editor = ctx.activeRustEditor;