diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-27 11:39:17 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-27 11:39:17 -0700 |
commit | b83eb52c98d637ab3e3becf98aed9899821ea00d (patch) | |
tree | 3dfb5229ea3eb943c467f9d52e9cd483ce5184ec /extension/src | |
parent | a27423c428edee03ed62fc2c8a734e01b392b389 (diff) | |
download | sncontinue-b83eb52c98d637ab3e3becf98aed9899821ea00d.tar.gz sncontinue-b83eb52c98d637ab3e3becf98aed9899821ea00d.tar.bz2 sncontinue-b83eb52c98d637ab3e3becf98aed9899821ea00d.zip |
feat: :technologist: button to view logs when loading
Diffstat (limited to 'extension/src')
-rw-r--r-- | extension/src/debugPanel.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts index ece362f5..3c4f8481 100644 --- a/extension/src/debugPanel.ts +++ b/extension/src/debugPanel.ts @@ -249,6 +249,16 @@ 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; } } |