@@ -21,7 +21,7 @@ const extensions =
21
21
vscode . extensions . all . filter ( ( element ) => element . packageJSON . isBuiltin === false )
22
22
. sort ( ( leftside , rightside ) : number => {
23
23
if ( leftside . packageJSON . name . toLowerCase ( ) < rightside . packageJSON . name . toLowerCase ( ) ) {
24
- return - 1 ;
24
+ return - 1 ;
25
25
}
26
26
if ( leftside . packageJSON . name . toLowerCase ( ) > rightside . packageJSON . name . toLowerCase ( ) ) {
27
27
return 1 ;
@@ -37,37 +37,43 @@ export class GenerateBugReportFeature implements IFeature {
37
37
constructor ( private sessionManager : SessionManager ) {
38
38
this . command = vscode . commands . registerCommand ( "PowerShell.GenerateBugReport" , ( ) => {
39
39
40
- const body = encodeURIComponent ( `## Issue Description ##
40
+ const body = `Issue Description
41
+ =====
41
42
42
43
I am experiencing a problem with...
43
44
44
- ## Attached Logs ##
45
+ Attached Logs
46
+ =====
45
47
46
48
Follow the instructions in the [README](https://github.com/PowerShell/vscode-powershell#reporting-problems) about
47
49
capturing and sending logs.
48
50
49
- ## Environment Information ##
51
+ Environment Information
52
+ =====
50
53
51
- ### Visual Studio Code ###
54
+ Visual Studio Code
55
+ -----
52
56
53
57
| Name | Version |
54
58
| --- | --- |
55
59
| Operating System | ${ os . type ( ) } ${ os . arch ( ) } ${ os . release ( ) } |
56
60
| VSCode | ${ vscode . version } |
57
61
| PowerShell Extension Version | ${ extensionVersion } |
58
62
59
- ### PowerShell Information ###
63
+ PowerShell Information
64
+ -----
60
65
61
66
${ this . getRuntimeInfo ( ) }
62
67
63
- ### Visual Studio Code Extensions ###
68
+ Visual Studio Code Extensions
69
+ -----
64
70
65
71
<details><summary>Visual Studio Code Extensions(Click to Expand)</summary>
66
72
67
73
${ this . generateExtensionTable ( extensions ) }
68
74
</details>
69
75
70
- ` ) ;
76
+ ` ;
71
77
72
78
const encodedBody = encodeURIComponent ( body ) ;
73
79
const fullUrl = `${ issuesUrl } ${ queryStringPrefix } body=${ encodedBody } ` ;
@@ -80,7 +86,7 @@ ${this.generateExtensionTable(extensions)}
80
86
}
81
87
82
88
public setLanguageClient ( languageclient : LanguageClient ) {
83
- // Elimiinate tslint warning.
89
+ // Eliminate tslint warning.
84
90
}
85
91
86
92
private generateExtensionTable ( installedExtensions ) : string {
0 commit comments