MCPcopy Create free account
hub / github.com/experdot/pointer / openSettings

Function openSettings

src/renderer/src/services/settingsService.ts:295–303  ·  view source on GitHub ↗
(tab?: string)

Source from the content-addressed store, hash-verified

293let pendingSettingsTab: string | undefined
294
295export function openSettings(tab?: string): void {
296 pendingSettingsTab = tab
297 stores.tab.openTab({
298 id: 'settings',
299 type: 'settings',
300 title: '设置',
301 closable: true
302 })
303}
304
305export function consumePendingSettingsTab(): string | undefined {
306 const tab = pendingSettingsTab

Callers 6

ActivityBarFunction · 0.90
renderOverlayFunction · 0.90
popupRenderFunction · 0.90
popupRenderFunction · 0.90
renderOverlayFunction · 0.90
initializeTabTypesFunction · 0.90

Calls 1

openTabMethod · 0.80

Tested by

no test coverage detected