find_references
Locate all code references to a symbol in TypeScript, JavaScript, or Python files using Language Server Protocol integration for code analysis and refactoring.
Instructions
Find all references to a symbol using LSP
Input Schema
Name | Required | Description | Default |
---|---|---|---|
character | No | Character position of the symbol | |
file | Yes | File containing the symbol | |
language | No | Programming language | typescript |
line | Yes | Line number of the symbol |
Input Schema (JSON Schema)
{
"properties": {
"character": {
"default": 0,
"description": "Character position of the symbol",
"type": "number"
},
"file": {
"description": "File containing the symbol",
"type": "string"
},
"language": {
"default": "typescript",
"description": "Programming language",
"type": "string"
},
"line": {
"description": "Line number of the symbol",
"type": "number"
}
},
"required": [
"file",
"line"
],
"type": "object"
}