Standalone auto-complete library based on cljs analyzer state
Standalone auto-complete library based on cljs analyzer state
(all-ns-candidates env)
Returns candidate data for all namespaces in the environment.
Returns candidate data for all namespaces in the environment.
(completions env prefix)
(completions env prefix options-map)
Returns a sequence of candidate data for completions matching the given prefix string and options. If the third parameter is a string it's used as :context-ns option.
Returns a sequence of candidate data for completions matching the given prefix string and options. If the third parameter is a string it's used as :context-ns option. - :context-ns - (optional) the current namespace; - :extra-metadata - set of additional fields (:arglists, :doc) to add to the response maps.
(core-var-candidates env context-ns)
Returns candidate data for all cljs.core vars visible in context-ns.
Returns candidate data for all cljs.core vars visible in context-ns.
(import-candidates env context-ns)
Returns candidate data for all imports in context-ns.
Returns candidate data for all imports in context-ns.
(keyword-candidates env)
Returns candidate data for all keyword constants in the environment.
Returns candidate data for all keyword constants in the environment.
(macro-ns-candidates env context-ns)
Returns candidate data for all referred macro namespaces (and their aliases) in context-ns.
Returns candidate data for all referred macro namespaces (and their aliases) in context-ns.
(namespaced-keyword-candidates env context-ns)
Returns all namespaced keywords defined in context-ns.
Returns all namespaced keywords defined in context-ns.
(ns-candidates env context-ns)
Returns candidate data for all referred namespaces (and their aliases) in context-ns.
Returns candidate data for all referred namespaces (and their aliases) in context-ns.
(ns-macro-candidates env ns)
Returns candidate data for all macros defined in ns.
Returns candidate data for all macros defined in ns.
(ns-public-var-candidates env ns)
Returns candidate data for all public vars defined in ns.
Returns candidate data for all public vars defined in ns.
(ns-var-candidates env ns)
Returns candidate data for all vars defined in ns.
Returns candidate data for all vars defined in ns.
(potential-candidates env sym context-ns)
Returns all candidates for sym. If sym is namespace-qualified, the candidates for that namespace will be returned (including macros if the namespace has its macros required in context-ns). Otherwise, all non-namespace-qualified candidates for context-ns will be returned.
Returns all candidates for sym. If sym is namespace-qualified, the candidates for that namespace will be returned (including macros if the namespace has its macros required in context-ns). Otherwise, all non-namespace-qualified candidates for context-ns will be returned.
(referred-macro-candidates env context-ns)
Returns candidate data for all referred macros in context-ns.
Returns candidate data for all referred macros in context-ns.
(referred-namespaced-keyword-candidates env context-ns)
Returns all namespaced keywords referred in context-ns.
Returns all namespaced keywords referred in context-ns.
(referred-var-candidates env context-ns)
Returns candidate data for all referred vars in context-ns.
Returns candidate data for all referred vars in context-ns.
(scoped-candidates env sym context-ns)
Returns all candidates for the namespace of sym. Sym must be namespace-qualified. Macro candidates are included if the namespace has its macros required in context-ns.
Returns all candidates for the namespace of sym. Sym must be namespace-qualified. Macro candidates are included if the namespace has its macros required in context-ns.
Candidate data for all special forms.
Candidate data for all special forms.
(unscoped-candidates env context-ns)
Returns all non-namespace-qualified potential candidates in context-ns.
Returns all non-namespace-qualified potential candidates in context-ns.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close