提交 c3bc031c 编写于 作者: D Daniel Imms

Fix run active file when no editor is focused

Fixes #53019
上级 0cadfe18
......@@ -625,7 +625,7 @@ export class RunActiveFileInTerminalAction extends Action {
if (!instance) {
return TPromise.as(void 0);
}
const editor = this.codeEditorService.getFocusedCodeEditor();
const editor = this.codeEditorService.getActiveCodeEditor();
if (!editor) {
return TPromise.as(void 0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册