Get IDE-grade code intelligence
lspskillsetup L2★61,462
code-yeongyu/oh-my-openagent ↗What it does
Query LSP for symbol references, definitions, and cross-file dependencies
Best for
When you need precise symbol tracking (dead code, refactor impact, dependency discovery) without regex fragility.
Inputs
- · file path, line, character, symbol name, query type (find references, go to definition, etc.)
Outputs
- · LSP response: list of references/definitions with file, line, character locations
Requires
- · Language Server Protocol
- · TypeScript LSP server
Preconditions
LSP server running and synchronized with codebase; file in editor's workspace
Failure modes
- · LSP returns stale results (out-of-sync with recent edits)
- · Find references misses dynamic references (import path construction)
- · LSP times out on large codebases
Trust signals
- · LSP as single source of truth for symbol references
- · Works across import styles (CommonJS, ES modules, re-exports)
- · False-positive guards (declared vs referenced distinction)