Skip to content

Commit

Permalink
Update packages/plugin-ext/src/main/browser/languages-main.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
jbicker and vince-fugnitto committed Sep 23, 2022
1 parent 91804d8 commit f11b661
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin-ext/src/main/browser/languages-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ export class LanguagesMainImpl implements LanguagesMain, Disposable {
token: monaco.CancellationToken): Promise<monaco.languages.CodeActionList | monaco.languages.CodeActionList> {
const actions = await this.proxy.$provideCodeActions(handle, model.uri, rangeOrSelection, {
...context,
// @monaco-uplift
// the current version of monaco.languages.CodeActionContext has no CodeActionTriggerKind
trigger: CodeActionTriggerKind.Automatic
}, token);
Expand Down

0 comments on commit f11b661

Please sign in to comment.