Skip to content

Commit 5bd3791

Browse files
Replace GenerateBugReport (#5334)
We think it's probably causing our spam issues.
1 parent de7fc98 commit 5bd3791

File tree

4 files changed

+4
-72
lines changed

4 files changed

+4
-72
lines changed

package.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,6 @@
233233
"title": "Open PowerShell Extension Logs Folder",
234234
"category": "PowerShell"
235235
},
236-
{
237-
"command": "PowerShell.GenerateBugReport",
238-
"title": "Upload Bug Report to GitHub",
239-
"category": "PowerShell"
240-
},
241236
{
242237
"command": "PowerShell.OpenInISE",
243238
"title": "Open Current File in PowerShell ISE",
@@ -1150,12 +1145,6 @@
11501145
"type": "number",
11511146
"default": 240,
11521147
"markdownDescription": "Specifies how many seconds the extension will wait for the LSP server, PowerShell Editor Services, to connect. The default is four minutes; try increasing this value if your computer is particularly slow (often caused by overactive anti-malware programs)."
1153-
},
1154-
"powershell.bugReporting.project": {
1155-
"type": "string",
1156-
"default": "https://github.com/PowerShell/vscode-powershell",
1157-
"markdownDescription": "**Deprecated:** Specifies the URL of the GitHub project in which to generate bug reports.",
1158-
"markdownDeprecationMessage": "**Deprecated:** This setting was never meant to be changed!"
11591148
}
11601149
}
11611150
}

src/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
ExternalApiFeature,
1818
type IPowerShellExtensionClient,
1919
} from "./features/ExternalApi";
20-
import { GenerateBugReportFeature } from "./features/GenerateBugReport";
2120
import { GetCommandsFeature } from "./features/GetCommands";
2221
import { HelpCompletionFeature } from "./features/HelpCompletion";
2322
import { ISECompatibilityFeature } from "./features/ISECompatibility";
@@ -162,7 +161,6 @@ export async function activate(
162161
// Register commands that do not require Language client
163162
commandRegistrations = [
164163
new ExamplesFeature(),
165-
new GenerateBugReportFeature(sessionManager),
166164
new ISECompatibilityFeature(),
167165
new OpenInISEFeature(),
168166
new PesterTestsFeature(sessionManager, logger),

src/features/GenerateBugReport.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.

src/session.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,8 +1270,10 @@ Type 'help' to get help.
12701270
{
12711271
prompt: "Open an Issue",
12721272
action: async (): Promise<void> => {
1273-
await vscode.commands.executeCommand(
1274-
"PowerShell.GenerateBugReport",
1273+
await vscode.env.openExternal(
1274+
vscode.Uri.parse(
1275+
"https://github.com/PowerShell/vscode-powershell/issues/new/choose",
1276+
),
12751277
);
12761278
},
12771279
},

0 commit comments

Comments
 (0)