get_references
Find all usages of a symbol in code by providing its file path and position. Returns a list of locations where the symbol is referenced, making it simple to trace dependencies and impact.
Instructions
Find all references to a symbol. Returns a list of locations where the symbol is used. Tip: Use 'search_in_file' to find the exact line and character of the symbol definition or usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | The 0-based line number of the symbol | |
| filePath | Yes | The absolute path to the file containing the symbol definition or usage | |
| character | Yes | The 0-based character offset of the symbol |