Liking cljdoc? Tell your friends :D

clojure-lsp.feature.hover


clojure-opening-codeclj

source

closing-codeclj

source

find-docstringclj

(find-docstring db markdown? uri doc cnt)

Find the doc string for the hovered symbol.

If the symbol's docstring is a string literal, we can process it. If it's reaching into the metadata of another var to get that var's docstring (with the idiom (:doc (meta #'some-var))), use q/find-definition to retrieve the :doc from it and try again.

Limits recurring with q/find-definition to 3 times to avoid potential timeouts.

Find the doc string for the hovered symbol.

If the symbol's docstring is a string literal, we can process it. If it's reaching
into the metadata of another var to get that var's docstring (with the idiom
`(:doc (meta #'some-var)))`, use `q/find-definition` to retrieve the `:doc` from it
and try again.

Limits recurring with `q/find-definition` to 3 times to avoid potential timeouts.
sourceraw docstring

hoverclj

(hover uri row col components)
(hover uri row col {:keys [db*] :as components} docs-config)
source

hover-documentationclj

(hover-documentation
  {sym-ns :ns sym-name :name :keys [doc uri return-type bucket] :as definition}
  db*
  {:keys [additional-text-edits? content-format-capability-path]}
  &
  [calling])
source

java-opening-codeclj

source

line-breakclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close