Liking cljdoc? Tell your friends :D

clojure-lsp.feature.add-missing-libspec


add-known-aliasclj

(add-known-alias zloc alias-to-add qualified-ns-to-add db)
source

add-missing-importclj

(add-missing-import zloc uri import-name db {:keys [producer]})
source

add-missing-libspecclj

(add-missing-libspec zloc uri db components)
source

add-ns-to-loc-changeclj

(add-ns-to-loc-change loc chosen-alias)
source

add-require-suggestionclj

(add-require-suggestion zloc
                        uri
                        chosen-ns
                        chosen-alias
                        chosen-refer
                        js-require
                        db
                        {:keys [producer]})
source

add-simple-requireclj

(add-simple-require zloc qualified-ns-to-add db)
source

add-to-namespace*clj

(add-to-namespace* zloc
                   {libspec-type :type
                    lib-sym :lib
                    refer-sym :refer
                    alias-sym :alias
                    class-sym :class}
                   db)
source

add-to-rcf*clj

(add-to-rcf* zloc
             {libspec-type :type
              lib-sym :lib
              refer-sym :refer
              alias-sym :alias
              class-sym :class}
             _)
source

cleaning-ns-editsclj

(cleaning-ns-edits uri db edits)
source

find-alias-ns-pairsclj

(find-alias-ns-pairs db uri)
source

find-missing-importsclj

(find-missing-imports zloc db)
source

find-missing-ns-requireclj

(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.
sourceraw docstring

find-namespace-suggestionsclj

(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.
sourceraw docstring

find-require-suggestionsclj

(find-require-suggestions zloc uri db)
source

safe-sexprclj

(safe-sexpr zloc)
source

safe-symclj

(safe-sym zloc)
source

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

× close