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

Function firstEditorColumn

src/shared/vscode/utils.ts:350–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348}
349
350export function firstEditorColumn(): vs.ViewColumn | undefined {
351 const usedColumns = usedEditorColumns();
352 for (let i = 1; i <= 9; i++) {
353 if (usedColumns.has(i))
354 return i;
355 }
356}
357
358export function createWatcher(pattern: string, emitter: EventEmitter<vs.Uri | void>) {
359 const watcher = vs.workspace.createFileSystemWatcher(pattern);

Callers 1

jumpToLineColInUriMethod · 0.90

Calls 2

usedEditorColumnsFunction · 0.85
hasMethod · 0.80

Tested by

no test coverage detected