(helpFile?: HelpFile)
| 191 | } |
| 192 | |
| 193 | public async openInExternalBrowser(helpFile?: HelpFile): Promise<boolean> { |
| 194 | if (!this.currentEntry) { |
| 195 | return false; |
| 196 | } |
| 197 | if (!helpFile) { |
| 198 | helpFile = this.currentEntry.helpFile; |
| 199 | } |
| 200 | const url = helpFile.url; |
| 201 | if (!url) { |
| 202 | return false; |
| 203 | } |
| 204 | const uri = vscode.Uri.parse(url); |
| 205 | return vscode.env.openExternal(uri); |
| 206 | } |
| 207 | |
| 208 | // go back/forward in the history of the webview: |
| 209 | public async goBack(): Promise<void> { |
no test coverage detected