Add code action trigger to proposed API

#50248
This commit is contained in:
Matt Bierner
2018-05-21 16:19:00 -07:00
parent cdea1bdc99
commit 0a0d3d5e45
10 changed files with 62 additions and 15 deletions

View File

@@ -295,7 +295,8 @@ class CodeActionAdapter {
const codeActionContext: vscode.CodeActionContext = {
diagnostics: allDiagnostics,
only: context.only ? new CodeActionKind(context.only) : undefined
only: context.only ? new CodeActionKind(context.only) : undefined,
triggerKind: context.trigger,
};
return asWinJsPromise(token =>