show "View Logs" popup during server loading
This commit is contained in:
parent
f7a3659381
commit
9a9b7aae31
2 changed files with 12 additions and 10 deletions
|
|
@ -86,6 +86,17 @@ export async function activateExtension(context: vscode.ExtensionContext) {
|
|||
return Promise.resolve();
|
||||
}
|
||||
);
|
||||
|
||||
vscode.window
|
||||
.showInformationMessage(
|
||||
"Click here to view the server logs, or use the 'continue.viewLogs' VS Code command.",
|
||||
"View Logs"
|
||||
)
|
||||
.then((selection) => {
|
||||
if (selection === "View Logs") {
|
||||
vscode.commands.executeCommand("continue.viewLogs");
|
||||
}
|
||||
});
|
||||
}
|
||||
}, 2000);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -272,16 +272,7 @@ export function setupDebugPanel(
|
|||
});
|
||||
}
|
||||
);
|
||||
vscode.window
|
||||
.showInformationMessage(
|
||||
"Click here to view the server logs, or use the 'continue.viewLogs' VS Code command.",
|
||||
"View Logs"
|
||||
)
|
||||
.then((selection) => {
|
||||
if (selection === "View Logs") {
|
||||
vscode.commands.executeCommand("continue.viewLogs");
|
||||
}
|
||||
});
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue