MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / setTabs

Function setTabs

src/integrations/editor/__tests__/DiffViewProvider.spec.ts:541–546  ·  view source on GitHub ↗
(tabs: any[], viewColumn = vscode.ViewColumn.One)

Source from the content-addressed store, hash-verified

539 }
540
541 const setTabs = (tabs: any[], viewColumn = vscode.ViewColumn.One) => {
542 Object.defineProperty(vscode.window.tabGroups, "all", {
543 get: () => [{ tabs, viewColumn }],
544 configurable: true,
545 })
546 }
547
548 it("captures unrelated preview tabs with their scroll position and group, excluding the diff target", () => {
549 setTabs(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected