mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:49:36 +01:00
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user