diff --git a/packages/monaco/src/browser/monaco-editor-provider.ts b/packages/monaco/src/browser/monaco-editor-provider.ts index 96eeeef5b84cf..1c2c2762b8b76 100644 --- a/packages/monaco/src/browser/monaco-editor-provider.ts +++ b/packages/monaco/src/browser/monaco-editor-provider.ts @@ -388,7 +388,7 @@ export class MonacoEditorProvider { const modelPromise = Promise.resolve(model) as any; modelPromise.cancel = () => { }; - openedEditor._contributions['editor.contrib.referencesController'].toggleWidget(range, modelPromise, false); + openedEditor._contributions['editor.contrib.referencesController'].toggleWidget(range, modelPromise, true); return; }