(add-require-suggestion zloc
uri
chosen-ns
chosen-alias
chosen-refer
js-require
db
{:keys [producer]})
(add-to-namespace* zloc
{libspec-type :type
lib-sym :lib
refer-sym :refer
alias-sym :alias
class-sym :class}
db)
(add-to-rcf* zloc
{libspec-type :type
lib-sym :lib
refer-sym :refer
alias-sym :alias
class-sym :class}
_)
(find-missing-ns-require zloc uri db)
Returns map with found ns and alias or refer.
Returns map with found ns and alias or refer.
(find-namespace-suggestions cursor-namespace-str ns-alias-pairs)
Given a list of `[["ns" "alias"]] pairs suggest possible requires. Will only suggest existing namespaces. Suggestions should be ordered from most commonly used to least.
Given a list of `[["ns" "alias"]] pairs suggest possible requires. Will only suggest existing namespaces. Suggestions should be ordered from most commonly used to least.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close