MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / create

Function create

src/cm/lsp/tooltipExtensions.ts:383–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

381 : pos,
382 end: result.range ? fromPosition(view.state.doc, result.range.end) : pos,
383 create() {
384 const dom = document.createElement("div");
385 dom.className = "cm-lsp-hover-tooltip cm-lsp-documentation";
386 dom.innerHTML = renderTooltipContent(plugin, result.contents);
387 return { dom };
388 },
389 above: true,
390 };
391 });

Callers

nothing calls this directly

Calls 1

renderTooltipContentFunction · 0.85

Tested by

no test coverage detected