()
| 203 | } |
| 204 | |
| 205 | private onKnownCompilerSelect(): void { |
| 206 | if (this.updating) { |
| 207 | return; |
| 208 | } |
| 209 | const el: HTMLSelectElement = <HTMLSelectElement>document.getElementById(elementId.knownCompilers); |
| 210 | (<HTMLInputElement>document.getElementById(elementId.compilerPath)).value = el.value; |
| 211 | this.onChanged(elementId.compilerPath); |
| 212 | |
| 213 | // Post message that this control was used for telemetry |
| 214 | this.vsCodeApi.postMessage({ |
| 215 | command: "knownCompilerSelect" |
| 216 | }); |
| 217 | } |
| 218 | |
| 219 | // To enable custom entries, the compiler path control is a text box on top of a select control. |
| 220 | // This function ensures that the select control is updated when the text box is changed. |
nothing calls this directly
no test coverage detected