Liking cljdoc? Tell your friends :D

nrepl.util.completion

Code completion functionality.

The functionality here is experimental and the API is subject to changes.

Code completion functionality.

The functionality here is experimental and
the API is subject to changes.

all-keywords

(all-keywords)
source

annotate-class

(annotate-class cname)
source

annotate-keyword

(annotate-keyword kw)
source

annotate-var

(annotate-var var {:keys [extra-metadata]})
source

class-candidates

(class-candidates prefix _ns)
source

classfiles

source

completion-candidates

(completion-candidates prefix ns options)
source

completions

(completions prefix)
(completions prefix ns)
(completions prefix ns options)

Return a sequence of matching completion candidates given a prefix string and an optional current namespace. You can also provide an additional options map to tweak the candidate list to your needs. E.g. you can pass {:extra-metadata #{:arglists :doc}} to request additional metadata for the candidates.

Return a sequence of matching completion candidates given a prefix string and an optional current namespace.
You can also provide an additional `options` map to tweak the candidate list to your needs.
E.g. you can pass {:extra-metadata #{:arglists :doc}} to request additional metadata for the candidates.
sourceraw docstring

generic-candidates

(generic-candidates ns options)
source

keyword-candidates

(keyword-candidates prefix ns)
source

keyword-namespace-aliases

(keyword-namespace-aliases prefix ns)

Given a prefix and a namespace, return completion candidates for namespace aliases as auto-resolved keywords.

Given a prefix and a namespace, return completion candidates for namespace
aliases as auto-resolved keywords.
sourceraw docstring

namespaces

(namespaces ns)

Returns a list of potential namespace completions for a given namespace

Returns a list of potential namespace completions for a given namespace
sourceraw docstring

nested-classes

source

ns-candidates

(ns-candidates ns {:keys [extra-metadata]})
source

ns-class-candidates

(ns-class-candidates ns)
source

ns-classes

(ns-classes ns)

Returns a list of potential class name completions for a given namespace

Returns a list of potential class name completions for a given namespace
sourceraw docstring

ns-java-method-candidates

(ns-java-method-candidates ns)
source

ns-java-methods

(ns-java-methods ns)

Returns a list of Java method names for a given namespace.

Returns a list of Java method names for a given namespace.
sourceraw docstring

ns-public-var-candidates

(ns-public-var-candidates ns options)
source

ns-public-vars

(ns-public-vars ns)

Returns a list of potential public var name completions for a given namespace

Returns a list of potential public var name completions for a given namespace
sourceraw docstring

ns-var-candidates

(ns-var-candidates ns options)
source

ns-vars

(ns-vars ns)

Returns a list of all potential var name completions for a given namespace

Returns a list of all potential var name completions for a given namespace
sourceraw docstring

path-files

(path-files path)
source

qualified-auto-resolved-keywords

(qualified-auto-resolved-keywords ns-alias prefix ns)

Given a namespace alias, a prefix, and a namespace, return completion candidates for qualified, auto-resolved keywords (e.g. ::foo/bar).

Given a namespace alias, a prefix, and a namespace, return completion
candidates for qualified, auto-resolved keywords (e.g. ::foo/bar).
sourceraw docstring

resolve-class

(resolve-class ns sym)
source

scoped-candidates

(scoped-candidates prefix ns options)
source

single-colon-keywords

(single-colon-keywords prefix)

Given a prefix, return completion candidates for keywords that are either unqualified or qualified with a synthetic namespace.

Given a prefix, return completion candidates for keywords that are either
unqualified or qualified with a synthetic namespace.
sourceraw docstring

special-form-candidates

source

special-forms

source

static-member-candidates

(static-member-candidates class)
source

static-members

(static-members class)

Returns a list of potential static members for a given class

Returns a list of potential static members for a given class
sourceraw docstring

top-level-classes

source

unqualified-auto-resolved-keywords

(unqualified-auto-resolved-keywords prefix ns)

Given a prefix and a namespace, return completion candidates for keywords that belong to the given namespace.

Given a prefix and a namespace, return completion candidates for
keywords that belong to the given namespace.
sourceraw docstring

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

× close