(apiClient: ApiClient, ws: BotloaderWS, outputChannel: vscode.OutputChannel)
| 13 | otherDisposables: vscode.Disposable[] = []; |
| 14 | |
| 15 | constructor(apiClient: ApiClient, ws: BotloaderWS, outputChannel: vscode.OutputChannel) { |
| 16 | this.apiClient = apiClient; |
| 17 | this.ws = ws; |
| 18 | this.outputChannel = outputChannel; |
| 19 | |
| 20 | this.otherDisposables.push(vscode.workspace.onDidChangeWorkspaceFolders(this.workspaceFoldersChange.bind(this))); |
| 21 | |
| 22 | for (let folder of vscode.workspace.workspaceFolders || []) { |
| 23 | this.checkFolder(folder.uri); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | async workspaceFoldersChange(evt: vscode.WorkspaceFoldersChangeEvent) { |
| 28 | for (let added of evt.added) { |
nothing calls this directly
no test coverage detected