(filePath: string, position: Position, includeDeclaration = true)
| 289 | } |
| 290 | |
| 291 | async references(filePath: string, position: Position, includeDeclaration = true) { |
| 292 | const uri = await toUri(filePath); |
| 293 | return this.connection.sendRequest<Location[] | null>('textDocument/references', { |
| 294 | textDocument: {uri}, |
| 295 | position, |
| 296 | context: {includeDeclaration}, |
| 297 | }); |
| 298 | } |
| 299 | |
| 300 | async prepareRename(filePath: string, position: Position) { |
| 301 | const uri = await toUri(filePath); |
no test coverage detected