Skip to content

Commit 261cd55

Browse files
committed
Set extension version
1 parent 2d917be commit 261cd55

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,28 +61,30 @@ body:
6161
attributes:
6262
label: settings.json
6363
description: |
64-
Please provide the content of your `settings.json`.
64+
Please provide the content of your `settings.json` if relevant.
6565
You can find it by following [these steps](https://github.com/tanchekwei/VisualStudioCodeForCommandPalette/blob/main/docs/locate-settings-json.md).
66+
**Privacy Warning:** Please review the content and remove any sensitive information (e.g., your Windows username in file paths) before pasting.
6667
placeholder: |
6768
```json
68-
// paste here
69+
// paste here (ensure no sensitive info)
6970
```
7071
validations:
71-
required: true
72+
required: false
7273

7374
- type: textarea
7475
id: error-log
7576
attributes:
7677
label: error.log
7778
description: |
78-
Please provide the content of your `error.log`.
79+
Please provide the content of your `error.log` if relevant.
7980
You can find it by following [these steps](https://github.com/tanchekwei/VisualStudioCodeForCommandPalette/blob/main/docs/locate-error-log.md).
81+
**Privacy Warning:** Please review the content and remove any sensitive information before pasting.
8082
placeholder: |
8183
```text
82-
// paste here
84+
// paste here (ensure no sensitive info)
8385
```
8486
validations:
85-
required: true
87+
required: false
8688

8789
- type: textarea
8890
id: additional-context

WorkspaceLauncherForVSCode/Pages/StaticHelpItems.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using Microsoft.CommandPalette.Extensions.Toolkit;
55
using WorkspaceLauncherForVSCode.Classes;
66
using WorkspaceLauncherForVSCode.Commands;
7+
using OpenUrlCommand = WorkspaceLauncherForVSCode.Commands.OpenUrlCommand;
78

89
namespace WorkspaceLauncherForVSCode.Pages
910
{
@@ -18,7 +19,10 @@ public static class StaticHelpItems
1819
);
1920

2021
public static readonly ListItem ReportBug = new(
21-
new Commands.OpenUrlCommand("https://github.com/tanchekwei/VisualStudioCodeForCommandPalette/issues/new", "Report issue", Icon.GitHub)
22+
new OpenUrlCommand(
23+
$"https://github.com/tanchekwei/VisualStudioCodeForCommandPalette/issues/new?template=bug_report.yml&extension-version={Uri.EscapeDataString(Constant.AssemblyVersion)}",
24+
"Report issue",
25+
Icon.GitHub)
2226
);
2327

2428
public static readonly ListItem ExtensionVersion = new()
@@ -46,4 +50,4 @@ public static void Initialize(Dependencies deps)
4650
}
4751
}
4852
}
49-
}
53+
}

0 commit comments

Comments
 (0)