summaryrefslogtreecommitdiff
path: root/extension
diff options
context:
space:
mode:
Diffstat (limited to 'extension')
-rw-r--r--extension/src/activation/activate.ts11
-rw-r--r--extension/src/debugPanel.ts11
2 files changed, 12 insertions, 10 deletions
diff --git a/extension/src/activation/activate.ts b/extension/src/activation/activate.ts
index cbb840c0..a47d5e97 100644
--- a/extension/src/activation/activate.ts
+++ b/extension/src/activation/activate.ts
@@ -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);
});
diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts
index d3972189..643563a2 100644
--- a/extension/src/debugPanel.ts
+++ b/extension/src/debugPanel.ts
@@ -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;
}
}