Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ const getCommandsMap: (
"continue.clearConsole": async () => {
consoleView.clearLog();
},
"continue.viewLogs": async () => {
vscode.commands.executeCommand("workbench.action.toggleDevTools");
},
"continue.debugTerminal": async () => {
const terminalContents = await ide.getTerminalContents();

Expand Down
7 changes: 6 additions & 1 deletion extensions/vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ async function dynamicImportAndActivate(context: vscode.ExtensionContext) {
}

export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(
vscode.commands.registerCommand("continue.viewLogs", () => {
vscode.commands.executeCommand("workbench.action.toggleDevTools");
}),
);

return dynamicImportAndActivate(context).catch((e) => {
console.log("Error activating extension: ", e);
vscode.window
Expand All @@ -26,7 +32,6 @@ export function activate(context: vscode.ExtensionContext) {
if (selection === "View Logs") {
vscode.commands.executeCommand("continue.viewLogs");
} else if (selection === "Retry") {
// Reload VS Code window
vscode.commands.executeCommand("workbench.action.reloadWindow");
}
});
Expand Down
Loading