Method
rename
(filePath: string, position: Position, newName: string)
Source from the content-addressed store, hash-verified
| 306 | } |
| 307 | |
| 308 | async rename(filePath: string, position: Position, newName: string) { |
| 309 | const uri = await toUri(filePath); |
| 310 | return this.connection.sendRequest<any>('textDocument/rename', { |
| 311 | textDocument: {uri}, |
| 312 | position, |
| 313 | newName, |
| 314 | }); |
| 315 | } |
| 316 | |
| 317 | async signatureHelp(filePath: string, position: Position, context?: SignatureHelpContext) { |
| 318 | const uri = await toUri(filePath); |
Tested by
no test coverage detected