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