Function
hover
(input: { file: string; line: number; character: number })
Source from the content-addressed store, hash-verified
| 268 | } |
| 269 | |
| 270 | export async function hover(input: { file: string; line: number; character: number }) { |
| 271 | return run((client) => { |
| 272 | return client.connection.sendRequest("textDocument/hover", { |
| 273 | textDocument: { |
| 274 | uri: pathToFileURL(input.file).href, |
| 275 | }, |
| 276 | position: { |
| 277 | line: input.line, |
| 278 | character: input.character, |
| 279 | }, |
| 280 | }) |
| 281 | }) |
| 282 | } |
| 283 | |
| 284 | enum SymbolKind { |
| 285 | File = 1, |
Tested by
no test coverage detected