()
| 323 | } |
| 324 | |
| 325 | function logOpenEditors() { |
| 326 | logger.info(`Current open editors are:`); |
| 327 | if (vs.window.visibleTextEditors?.length) { |
| 328 | for (const editor of vs.window.visibleTextEditors) { |
| 329 | logger.info(` - ${editor.document.uri}`); |
| 330 | } |
| 331 | } else { |
| 332 | logger.info(` - (no open editors)`); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | export function captureOutput(name: string) { |
| 337 | // Create a channel that buffers its output. |
no test coverage detected