提交 1d6b0bf5 编写于 作者: J Johannes Rieken

fix #20306

上级 5b93f63f
......@@ -22,7 +22,7 @@ export class QuickFixOracle {
private _currentRange: IRange;
constructor(private _editor: ICommonCodeEditor, private _markerService: IMarkerService, private _signalChange: (e: QuickFixComputeEvent) => any) {
this._onCursorChange();
this._disposables.push(
this._markerService.onMarkerChanged(e => this._onMarkerChanges(e)),
this._editor.onDidChangeCursorPosition(e => this._onCursorChange())
......@@ -169,7 +169,6 @@ export class QuickFixModel {
&& !this._editor.getConfiguration().readOnly) {
this._quickFixOracle = new QuickFixOracle(this._editor, this._markerService, p => this._onDidChangeFixes.fire(p));
this._quickFixOracle.trigger();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册