MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / logOpenEditors

Function logOpenEditors

src/test/helpers.ts:325–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323}
324
325function 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
336export function captureOutput(name: string) {
337 // Create a channel that buffers its output.

Callers 1

closeAllOpenFilesFunction · 0.85

Calls 1

infoMethod · 0.65

Tested by

no test coverage detected