(request: boolean)
| 151 | } |
| 152 | |
| 153 | private onAddConfigConfirm(request: boolean): void { |
| 154 | this.showElement(elementId.addConfigInputDiv, false); |
| 155 | this.showElement(elementId.addConfigDiv, true); |
| 156 | |
| 157 | // If request is yes, send message to create new config |
| 158 | if (request) { |
| 159 | const el: HTMLInputElement = <HTMLInputElement>document.getElementById(elementId.addConfigName); |
| 160 | if (el.value !== undefined && el.value !== "") { |
| 161 | this.vsCodeApi.postMessage({ |
| 162 | command: "addConfig", |
| 163 | name: el.value |
| 164 | }); |
| 165 | |
| 166 | el.value = ""; |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | private onConfigNameChanged(): void { |
| 172 | if (this.updating) { |
nothing calls this directly
no test coverage detected