MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / openElementSourceCode

Function openElementSourceCode

packages/debugger/src/locator/index.ts:213–221  ·  view source on GitHub ↗
(location: SourceLocation)

Source from the content-addressed store, hash-verified

211 setDevtoolsTarget(target)
212 },
213 openElementSourceCode(location: SourceLocation) {
214 if (!target_ide) return warn('Please set `targetIDE` it in useLocator options.')
215 const projectPath = locator.getProjectPath()
216 if (!projectPath) return warn('projectPath is not set.')
217 locator.openSourceCode(target_ide, {
218 ...location,
219 projectPath,
220 })
221 },
222 }
223}

Callers

nothing calls this directly

Calls 1

warnFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…