提交 42763064 编写于 作者: J Johannes Rieken

cancel snippet mode when errors happen. this prevent repeated errors, #39594

上级 4fce928b
......@@ -73,6 +73,7 @@ export class SnippetController2 implements IEditorContribution {
this._doInsert(template, overwriteBefore, overwriteAfter, undoStopBefore, undoStopAfter);
} catch (e) {
this.cancel();
this._logService.error(e);
this._logService.error('snippet_error');
this._logService.error('insert_template=', template);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册