MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / closeTabInIDE

Function closeTabInIDE

restored-src/src/hooks/useDiffInIDE.ts:151–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149
150 return {
151 closeTabInIDE() {
152 const ideClient = getConnectedIdeClient(toolUseContext.options.mcpClients)
153
154 if (!ideClient) {
155 return Promise.resolve()
156 }
157
158 return closeTabInIDE(tabName, ideClient)
159 },
160 showingDiffInIDE: shouldShowDiffInIDE && !hasError,
161 ideName: ideName,
162 hasError,

Callers 3

showDiffFunction · 0.70
cleanupFunction · 0.70
onChangeFunction · 0.50

Calls 4

logErrorFunction · 0.90
getConnectedIdeClientFunction · 0.85
callIdeRpcFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected