Liking cljdoc? Tell your friends :D

clojure-lsp.feature.hover


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] :as definition}
                     db*
                     {:keys [additional-text-edits?]})
source

line-breakclj

source

opening-codeclj

source

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

× close