MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getConnectedIdeName

Function getConnectedIdeName

src/utils/ide.ts:1179–1186  ·  view source on GitHub ↗
(
  mcpClients: MCPServerConnection[],
)

Source from the content-addressed store, hash-verified

1177}
1178
1179export function getConnectedIdeName(
1180 mcpClients: MCPServerConnection[],
1181): string | null {
1182 const ideClient = mcpClients.find(
1183 client => client.type === 'connected' && client.name === 'ide',
1184 )
1185 return getIdeClientName(ideClient)
1186}
1187
1188export function getIdeClientName(
1189 ideClient?: MCPServerConnection,

Callers 2

getSelectedLinesFromIDEFunction · 0.85
useDiffInIDEFunction · 0.85

Calls 1

getIdeClientNameFunction · 0.85

Tested by

no test coverage detected