We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9c869 commit 75d370cCopy full SHA for 75d370c
1 file changed
src/vs/editor/contrib/codeAction/codeActionCommands.ts
@@ -122,7 +122,9 @@ export class QuickFixController implements IEditorContribution {
122
}
123
124
private _handleLightBulbSelect(coords: { x: number, y: number }): void {
125
- this._codeActionContextMenu.show(this._lightBulbWidget.model.actions, coords);
+ if (this._lightBulbWidget.model.actions) {
126
+ this._codeActionContextMenu.show(this._lightBulbWidget.model.actions, coords);
127
+ }
128
129
130
public triggerFromEditorSelection(filter?: CodeActionFilter, autoApply?: CodeActionAutoApply): Thenable<CodeAction[] | undefined> {
0 commit comments