MCPcopy Create free account
hub / github.com/arctic-cli/interface / hover

Function hover

packages/arctic/src/lsp/index.ts:270–282  ·  view source on GitHub ↗
(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,

Callers 1

SessionFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected