From 6a10a8e5cd933f4a43c7b05e6cae4967fcc75b5c Mon Sep 17 00:00:00 2001 From: Devin Gould Date: Fri, 10 May 2024 13:20:08 -0400 Subject: [PATCH 1/2] Add debug terminal context menu (#1261) --- extensions/vscode/package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 922eff862..4b3caa608 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -140,7 +140,7 @@ { "command": "continue.debugTerminal", "category": "Continue", - "title": "Debug Terminal", + "title": "Continue: Debug Terminal", "group": "Continue" }, { @@ -387,6 +387,12 @@ "group": "navigation@1", "when": "activeWebviewPanelId == continue.continueGUIView" } + ], + "terminal/context": [ + { + "command": "continue.debugTerminal", + "group": "navigation@top" + } ] }, "viewsContainers": { From 7908d755106da2bd49b40e1d84829aa2d121e76c Mon Sep 17 00:00:00 2001 From: Devin Gould Date: Fri, 10 May 2024 13:27:52 -0400 Subject: [PATCH 2/2] Add --no-dependencies to vsce package (#1255) This is not needed because we bundle first with esbuild, and vsce pack has issues with modern package managers. see: microsoft/vscode-vsce#421 (comment) --- extensions/vscode/scripts/package.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/vscode/scripts/package.js b/extensions/vscode/scripts/package.js index 615ee8bbb..73d5cc5e4 100644 --- a/extensions/vscode/scripts/package.js +++ b/extensions/vscode/scripts/package.js @@ -9,8 +9,8 @@ if (!fs.existsSync("build")) { } const command = isPreRelease - ? "npx vsce package --out ./build patch --pre-release" // --yarn" - : "npx vsce package --out ./build patch"; // --yarn"; + ? "npx vsce package --out ./build patch --pre-release --no-dependencies" // --yarn" + : "npx vsce package --out ./build patch --no-dependencies"; // --yarn"; exec(command, (error) => { if (error) throw error;