(id: string)
| 244 | } |
| 245 | |
| 246 | private onChanged(id: string): void { |
| 247 | if (this.updating) { |
| 248 | return; |
| 249 | } |
| 250 | |
| 251 | const el: HTMLInputElement = <HTMLInputElement>document.getElementById(id); |
| 252 | if (id === elementId.compilerPath) { |
| 253 | this.fixKnownCompilerSelection(); |
| 254 | } |
| 255 | this.vsCodeApi.postMessage({ |
| 256 | command: "change", |
| 257 | key: id, |
| 258 | value: el.value |
| 259 | }); |
| 260 | } |
| 261 | |
| 262 | private onMessageReceived(e: MessageEvent): void { |
| 263 | const message: any = e.data; // The json data that the extension sent |
no test coverage detected