From 07f9e11e990bcd80a4866e78111306db2ae27fe3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 21:10:14 +0000 Subject: [PATCH 1/3] Initial plan From 6517f9122c7c9b2deec114db070645ae766c2fe7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 21:18:28 +0000 Subject: [PATCH 2/3] Add Report Issue command to TSGO status bar menu Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com> --- _extension/package.json | 6 ++++++ _extension/src/commands.ts | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/_extension/package.json b/_extension/package.json index 6fd7113d63..b218b3496a 100644 --- a/_extension/package.json +++ b/_extension/package.json @@ -85,6 +85,12 @@ "title": "Show LSP Trace", "enablement": "typescript.native-preview.serverRunning", "category": "TypeScript Native Preview" + }, + { + "command": "typescript.native-preview.reportIssue", + "title": "Report Issue", + "enablement": "typescript.native-preview.serverRunning", + "category": "TypeScript Native Preview" } ] }, diff --git a/_extension/src/commands.ts b/_extension/src/commands.ts index 18da6a3ca1..2877c766b0 100644 --- a/_extension/src/commands.ts +++ b/_extension/src/commands.ts @@ -34,6 +34,12 @@ export function registerLanguageCommands(context: vscode.ExtensionContext, clien disposables.push(vscode.commands.registerCommand("typescript.native-preview.showMenu", showCommands)); + disposables.push(vscode.commands.registerCommand("typescript.native-preview.reportIssue", () => { + vscode.commands.executeCommand("workbench.action.openIssueReporter", { + extensionId: "TypeScriptTeam.native-preview" + }); + })); + return disposables; } @@ -74,6 +80,11 @@ async function showCommands(): Promise { description: "Show the LSP communication trace", command: "typescript.native-preview.lsp-trace.focus", }, + { + label: "$(report) Report Issue", + description: "Report an issue with TypeScript Native Preview", + command: "typescript.native-preview.reportIssue", + }, { label: "$(stop-circle) Disable TypeScript Native Preview", description: "Switch back to the built-in TypeScript extension", From 89d6cd3564f7e2c7e0a31bb9f85a2db80e9da42c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 21:19:21 +0000 Subject: [PATCH 3/3] Apply formatting to commands.ts Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com> --- _extension/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_extension/src/commands.ts b/_extension/src/commands.ts index 2877c766b0..a2e0a58065 100644 --- a/_extension/src/commands.ts +++ b/_extension/src/commands.ts @@ -36,7 +36,7 @@ export function registerLanguageCommands(context: vscode.ExtensionContext, clien disposables.push(vscode.commands.registerCommand("typescript.native-preview.reportIssue", () => { vscode.commands.executeCommand("workbench.action.openIssueReporter", { - extensionId: "TypeScriptTeam.native-preview" + extensionId: "TypeScriptTeam.native-preview", }); }));