提交 9a3cc114 编写于 作者: M Matt Bierner

Only show code action progress indicator when manually triggering

上级 6fb42872
......@@ -115,7 +115,7 @@ export class CodeActionOracle {
const position = markerRange ? markerRange.getStartPosition() : selection.getStartPosition();
const actions = getCodeActions(model, selection, trigger && trigger.filter);
if (this._progressService) {
if (this._progressService && trigger.type === 'manual') {
this._progressService.showWhile(actions, 250);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册