@@ -19,7 +19,7 @@ const extensions =
1919 vscode . extensions . all . filter ( ( element ) => element . packageJSON . isBuiltin === false )
2020 . sort ( ( leftside , rightside ) : number => {
2121 if ( leftside . packageJSON . name . toLowerCase ( ) < rightside . packageJSON . name . toLowerCase ( ) ) {
22- return - 1 ;
22+ return - 1 ;
2323 }
2424 if ( leftside . packageJSON . name . toLowerCase ( ) > rightside . packageJSON . name . toLowerCase ( ) ) {
2525 return 1 ;
@@ -35,37 +35,43 @@ export class GenerateBugReportFeature implements IFeature {
3535 constructor ( private sessionManager : SessionManager ) {
3636 this . command = vscode . commands . registerCommand ( "PowerShell.GenerateBugReport" , ( ) => {
3737
38- const body = encodeURIComponent ( `## Issue Description ##
38+ const body = `Issue Description
39+ =====
3940
4041I am experiencing a problem with...
4142
42- ## Attached Logs ##
43+ Attached Logs
44+ =====
4345
4446Follow the instructions in the [README](https://github.com/PowerShell/vscode-powershell#reporting-problems) about
4547capturing and sending logs.
4648
47- ## Environment Information ##
49+ Environment Information
50+ =====
4851
49- ### Visual Studio Code ###
52+ Visual Studio Code
53+ -----
5054
5155| Name | Version |
5256| --- | --- |
5357| Operating System | ${ os . type ( ) } ${ os . arch ( ) } ${ os . release ( ) } |
5458| VSCode | ${ vscode . version } |
5559| PowerShell Extension Version | ${ sessionManager . HostVersion } |
5660
57- ### PowerShell Information ###
61+ PowerShell Information
62+ -----
5863
5964${ this . getRuntimeInfo ( ) }
6065
61- ### Visual Studio Code Extensions ###
66+ Visual Studio Code Extensions
67+ -----
6268
6369<details><summary>Visual Studio Code Extensions(Click to Expand)</summary>
6470
6571${ this . generateExtensionTable ( extensions ) }
6672</details>
6773
68- ` ) ;
74+ ` ;
6975
7076 const encodedBody = encodeURIComponent ( body ) ;
7177 const fullUrl = `${ issuesUrl } ${ queryStringPrefix } body=${ encodedBody } ` ;
@@ -78,7 +84,7 @@ ${this.generateExtensionTable(extensions)}
7884 }
7985
8086 public setLanguageClient ( languageclient : LanguageClient ) {
81- // Elimiinate tslint warning.
87+ // Eliminate tslint warning.
8288 }
8389
8490 private generateExtensionTable ( installedExtensions ) : string {
0 commit comments