get_references
Find all code references to a symbol to identify dead code, understand usage before refactoring, or trace data flow across files.
Instructions
Find all references to a symbol at a specific location in a file via LSP. Returns every location in the codebase where the symbol is used. Use this to determine if a symbol is dead (zero references), to understand call sites before refactoring, or to trace data flow. Results include file path and line/column for each reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| language_id | No | ||
| line | Yes | ||
| column | Yes | ||
| include_declaration | No | ||
| position_pattern | No |