find_references
Locates all references to a symbol in a Dart project based on its position. Helps developers navigate code by finding usages of functions, variables, or classes.
Instructions
Find all references to a symbol at a specific position.
Args: project_path: Absolute path to the Dart project root. file_path: Absolute path to the Dart file. line: 0-indexed line number. column: 0-indexed column number.
Returns: Formatted list of reference locations or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| column | Yes | ||
| file_path | Yes | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |