Supported nREPL operations
generated from a verbose 'describe' response (cider-nrepl v0.0.0)
Operations
analyze-last-stacktrace
Return messages describing each cause and stack frame of the most recent exception.
- Required parameters
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:status"done", or "no-error" if*eis nil
-
analyze-stacktrace
Parse and analyze the :stacktrace
parameter and return messages describing each cause and stack frame. The
stacktrace must be a string formatted in one of the following formats:
-
:avisoStacktraces printed with the write-exception function of the Aviso library. -
:clojure.tagged-literalStacktraces printed as a tagged literal, like a java.lang.Throwable printed with the pr function. -
:clojure.stacktraceStacktraces printed with the print-cause-trace function of the clojure.stacktrace namespace. -
:clojure.replStacktraces printed with the pst function of the clojure.repl namespace. -
:javaStacktraces printed with the printStackTrace method of java.lang.Throwable.- Required parameters
-
:stacktraceThe stacktrace to be parsed and analyzed as a string.- Optional parameters
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.- Returns
-
:status"done", or "no-error" ifstracktraceis not recognized
apropos
Return a sequence of vars whose name matches the query pattern, or if specified, having the pattern in their docstring.
- Required parameters
-
-
:queryThe search query.
-
- Optional parameters
-
-
:filter-regexpsAll vars from namespaces matching any regexp from this list would be dropped from the result.
-
- Returns
-
-
:apropos-matchesA list of matching symbols.
-
cider-version
Returns the version of the CIDER-nREPL middleware.
- Required parameters
- Optional parameters
- Returns
-
-
:cider-versionCIDER-nREPL’s version map. -
:statusdone
-
classpath
Obtain a list of entries in the Java classpath.
- Required parameters
- Optional parameters
- Returns
-
-
:classpathA list of the Java classpath entries.
-
clear-profile
Clears profile of samples.
- Required parameters
- Optional parameters
- Returns
-
-
:statusDone
-
clojuredocs-lookup
Return a map of information in ClojureDocs.
- Required parameters
-
-
:nsThe namespace wheresymwill be resolved. -
:symThe symbol to lookup.
-
- Optional parameters
- Returns
-
-
:clojuredocsA map of information in ClojureDocs. -
:status"no-doc" if there is no document matching tonsandsymbol.
-
clojuredocs-refresh-cache
Reload exported documents file from ClojureDocs, and store it as a cache.
- Required parameters
- Optional parameters
-
-
:export-edn-urlEDN file URL exported from ClojureDocs. Defaults to "https://github.com/clojure-emacs/clojuredocs-export-edn/raw/master/exports/export.compact.edn".
-
- Returns
-
-
:status"ok" if reloading was successful
-
complete
Return a list of symbols matching the specified (partial) symbol.
- Required parameters
-
-
:nsThe namespace is which to look for completions (falls back to *ns* if not specified) -
:prefixThe prefix for completion candidates -
:sessionThe current session
-
- Optional parameters
-
-
:contextCompletion context for compliment. -
:extra-metadataList of extra-metadata fields. Possible values: arglists, doc.
-
- Returns
-
-
:completionsA list of possible completions
-
complete-doc
Retrieve documentation suitable for display in completion popup
- Required parameters
-
-
:nsThe symbol’s namespace -
:symThe symbol to lookup
-
- Optional parameters
- Returns
-
-
:completion-docSymbol’s documentation
-
complete-flush-caches
Forces the completion backend to repopulate all its caches
- Required parameters
- Optional parameters
- Returns
content-type
Enhances the eval op by adding content-type and body to certain eval responses. Not an op in itself.
Depending on the type of the return value of the evaluation this middleware may kick in and include a representation of the result in the response, together with a MIME/Media type to indicate how it should be handled by the client. Comes with implementations for URI, URL, File, and java.awt.Image. More type handlers can be provided by the user by extending the cider.nrepl.middleware.content-type/content-type-response multimethod. This dispatches using clojure.core/type, so :type metadata on plain Clojure values can be used to provide custom handling.
- Required parameters
- Optional parameters
-
-
:content-typeIf present and non-nil, try to detect and handle content-types.
-
- Returns
-
-
:bodyThe rich response document, if applicable. -
:content-transfer-encodingThe encoding of the response body (Optional, currently only one possible value:"base64"). -
:content-typeThe Media type (MIME type) of the reponse, structured as a pair,[type {:as attrs}].
-
debug-input
Read client input on debug action.
- Required parameters
-
-
:inputThe user’s reply to the input request. -
:keyThe corresponding input request key.
-
- Optional parameters
- Returns
-
-
:statusdone
-
debug-instrumented-defs
Return an alist of definitions currently thought to be instrumented on each namespace. Due to Clojure’s versatility, this could include false positives, but there will not be false negatives. Instrumentations inside protocols are not listed.
- Required parameters
- Optional parameters
- Returns
-
-
:listThe alist of (NAMESPACE . VARS) that are thought to be instrumented. -
:statusdone
-
debug-middleware
Debug a code form or fall back on regular eval.
- Required parameters
-
-
:codeCode to debug, there must be a #dbg or a #break reader macro in it, or nothing will happen. -
:fileFile where the code is located. -
:idA message id that will be responded to when a breakpoint is reached. -
:nsPassed to "eval". -
:pointPosition in the file where the provided code begins.
-
- Optional parameters
- Returns
-
-
:status"done" if the message will no longer be used, or "need-debug-input" during debugging sessions
-
eldoc
Return a map of information about the specified symbol.
- Required parameters
- Optional parameters
-
-
:classA Java class. If:nsis passed, it will be used for fully-qualifying the class, if necessary. -
:contextA Compliment completion context, just like the ones already passed for the "complete" op, with the difference that the symbol at point should be entirely replaced by "_prefix_". For Java interop queries, it helps inferring the precise type of the object the:symor:memberrefers to, making the results more accurate (and less numerous). -
:memberA Java class member. -
:nsThe current namespace -
:symThe symbol to lookup -
:var-meta-allowlistThe metadata keys from vars to be returned. Currently only affects:clj. Defaults to the value oforchard.meta/var-meta-allowlist. If specified, the value will be concatenated to that oforchard.meta/var-meta-allowlist.
-
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:statusdone
-
eldoc-datomic-query
Return a map containing the inputs of the datomic query.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to lookup
-
- Optional parameters
- Returns
-
-
:statusdone
-
fn-deps
Look up the function dependencies of particular function.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to lookup
-
- Optional parameters
- Returns
-
-
:fn-depsA list of function deps, with a:name :doc :file :file-url :line :columnstructure. -
:statusdone
-
fn-refs
Look up functions that reference a particular function.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to lookup
-
- Optional parameters
- Returns
-
-
:fn-refsA list of function references, with a:name :doc :file :file-url :line :columnstructure. -
:statusdone
-
format-code
Reformats the given Clojure code, returning the result as a string.
- Required parameters
-
-
:codeThe code to format.
-
- Optional parameters
-
-
:optionsConfiguration map for cljfmt.
-
- Returns
-
-
:formatted-codeThe formatted code.
-
format-edn
Reformats the given EDN data, returning the result as a string.
- Required parameters
-
-
:ednThe data to format.
-
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:formatted-ednThe formatted data.
-
get-max-samples
Returns maximum number of samples to be collected for any var.
- Required parameters
- Optional parameters
- Returns
-
-
:statusDone -
:valueString representing number of max-sample-count
-
info
Return a map of information about the specified symbol.
- Required parameters
- Optional parameters
-
-
:classA Java class. If:nsis passed, it will be used for fully-qualifying the class, if necessary. -
:contextA Compliment completion context, just like the ones already passed for the "complete" op, with the difference that the symbol at point should be entirely replaced by "_prefix_". For Java interop queries, it helps inferring the precise type of the object the:symor:memberrefers to, making the results more accurate (and less numerous). -
:memberA Java class member. -
:nsThe current namespace -
:symThe symbol to lookup -
:var-meta-allowlistThe metadata keys from vars to be returned. Currently only affects:clj. Defaults to the value oforchard.meta/var-meta-allowlist. If specified, the value will be concatenated to that oforchard.meta/var-meta-allowlist.
-
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:statusdone
-
init-debugger
Initialize the debugger so that breakpoint works correctly. This usually does not respond immediately. It sends a response when a breakpoint is reached or when the message is discarded.
- Required parameters
-
-
:idA message id that will be responded to when a breakpoint is reached.
-
- Optional parameters
- Returns
inspect-clear
Clears the state state of the inspector.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-def-current-value
Define the currently inspected value as a var with the given var-name in the provided namespace.
- Required parameters
-
-
:nsNamespace to define var on -
:sessionThe current session -
:var-nameThe var name
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-last-exception
Returns an Inspector response for the last exception that has been processed through analyze-last-stacktrace for the current nrepl session.
Assumes that analyze-last-stacktrace has been called first, returning "no-error" otherwise.
- Required parameters
-
-
:index0 for inspecting the top-level exception, 1 for its ex-cause, 2 for its ex-cause’s ex-cause, and so on.
-
- Optional parameters
- Returns
-
-
:status"done", or "no-error" ifanalyze-last-stacktracewasn’t called beforehand (or theindexwas out of bounds). -
:valueA value, as produced by the Inspector middleware.
-
inspect-next-page
Jumps to the next page in paginated collection view.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-next-sibling
Increment the index of the last 'nth in the path by 1, if applicable, and re-render the updated value.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-pop
Moves one level up in the inspector stack.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-prev-page
Jumps to the previous page in paginated collection view.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-previous-sibling
Decrement the index of the last 'nth in the path by 1, if applicable, and re-render the updated value.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-push
Inspects the inside value specified by index.
- Required parameters
-
-
:idxIndex of the internal value currently rendered. -
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-refresh
Updates inspector with the provided config and re-renders the current value.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
-
-
:max-atom-lengthNew max length of single rendered value -
:max-coll-sizeNew max size of rendered collection -
:max-nested-depthNew max nested depth of rendered collection -
:page-sizeNew page size -
:view-modeMode of viewing the value - either:normalor:object
-
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-set-max-atom-length
[DEPRECATED - use inspect-refresh instead] Set the max length of nested atoms to specified value.
- Required parameters
-
-
:max-atom-lengthNew max length. -
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-set-max-coll-size
[DEPRECATED - use inspect-refresh instead] Set the number of nested collection members to display before truncating.
- Required parameters
-
-
:max-coll-sizeNew collection size. -
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-set-max-nested-depth
[DEPRECATED - use inspect-refresh instead] Set the maximum nested levels to display before truncating.
- Required parameters
-
-
:max-nested-depthNew nested depth. -
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-set-page-size
[DEPRECATED - use inspect-refresh instead] Sets the page size in paginated view to specified value.
- Required parameters
-
-
:page-sizeNew page size. -
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-tap-current-value
Send the currently inspected value to the Clojure tap>.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-tap-indexed
Send the currently inspected sub-value at idx to the Clojure tap>.
- Required parameters
-
-
:idxIndex of the internal value to be tapped -
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
inspect-toggle-view-mode
Toggles the viewing mode of the inspector. This influences the way how inspector is rendering the current value. :normal is the default. When view mode is :object, any value will be rendered as a Java object (fields shown as is). View mode is automatically reset back to normal when navigating to child values.
- Required parameters
-
-
:sessionThe current session
-
- Optional parameters
- Returns
-
-
:doc-block-tags-fragmentsMay be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-first-sentence-fragmentsMay be absent. Represents the first sentence of a Java doc comment. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:doc-fragmentsMay be absent. Represents the body of a Java doc comment, including the first sentence and excluding any block tags. It’s a vector of fragments, where fragment is a map with:type('text' or 'html') and:contentplain text or html markup, respectively -
:pathPrinted representation of current inspector path. -
:status"done" -
:valueThe inspector result. Contains a specially-formatted string that can bereadand then rendered client-side.
-
is-var-profiled
Reports whether symbol is currently profiled.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to check
-
- Optional parameters
- Returns
-
-
:statusDone -
:value'profiled' if profiling enabled, 'unprofiled' if disabled
-
macroexpand
Produces macroexpansion of some form using the given expander.
- Required parameters
-
-
:codeThe form to macroexpand.
-
- Optional parameters
-
-
:display-namespacesHow to print namespace-qualified symbols in the result. Possible values are "qualified" to leave all namespaces qualified, "none" to elide all namespaces, or "tidy" to replace namespaces with their aliases in the given namespace. Defaults to "qualified". -
:expanderThe macroexpansion function to use. Possible values are "macroexpand-1", "macroexpand", or "macroexpand-all". Defaults to "macroexpand". -
:nsThe namespace in which to perform the macroexpansion. Defaults to 'user for Clojure and 'cljs.user for ClojureScript. -
:print-metaIf truthy, also print metadata of forms.
-
- Returns
-
-
:expansionThe macroexpanded form.
-
ns-aliases
Returns a map of [ns-alias] to [ns-name] in a namespace.
- Required parameters
-
-
:nsThe namespace to use.
-
- Optional parameters
- Returns
-
-
:ns-aliasesThe map of [ns-alias] to [ns-name] in a namespace. -
:statusdone
-
ns-list
Return a sorted list of all namespaces.
- Required parameters
- Optional parameters
-
-
:filter-regexpsAll namespaces matching any regexp from this list would be dropped from the result.
-
- Returns
-
-
:ns-listThe sorted list of all namespaces. -
:statusdone
-
ns-list-vars-by-name
Return a list of vars named name amongst all namespaces.
- Required parameters
-
-
:nameThe name to use.
-
- Optional parameters
- Returns
-
-
:statusdone -
:var-listThe list obtained.
-
ns-load-all
Loads all project namespaces.
- Required parameters
- Optional parameters
- Returns
-
-
:loaded-nsThe list of ns that were loaded. -
:statusdone
-
ns-path
Returns the path to the file containing ns.
- Required parameters
-
-
:nsThe namespace to find.
-
- Optional parameters
- Returns
-
-
:pathThe path to the file containing ns. Please favor:urlin ClojureScript, but fall back to:path. -
:statusdone -
:urlThe Java URL indicating the file containing ns. Please favor this attribute over:pathwhen possible. If this value is nil, you can fall back to:path.
-
ns-vars
Returns a sorted list of public vars in a namespace.
- Required parameters
-
-
:nsThe namespace to browse.
-
- Optional parameters
-
-
:var-queryThe search query for vars. Only "private?" is supported for ClojureScript.
-
- Returns
-
-
:ns-varsThe sorted list of public vars in a namespace. -
:statusdone
-
ns-vars-with-meta
Returns a map of [var-name] to [var-metadata] for public vars in a namespace.
- Required parameters
-
-
:nsThe namespace to use.
-
- Optional parameters
-
-
:var-queryThe search query for vars. Only "private?" is supported for ClojureScript.
-
- Returns
-
-
:ns-vars-with-metaThe map of [var-name] to [var-metadata] for public vars in a namespace. -
:statusdone
-
out-subscribe
Change #'*out* so that it also prints to active sessions, even outside an eval scope.
- Required parameters
- Optional parameters
- Returns
out-unsubscribe
Change #'*out* so that it no longer prints to active sessions outside an eval scope.
- Required parameters
- Optional parameters
- Returns
profile-summary
Return profiling data summary.
- Required parameters
- Optional parameters
- Returns
-
-
:errContent of profile summary report -
:statusDone
-
profile-var-summary
Return profiling data summary for a single var.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to profile
-
- Optional parameters
- Returns
-
-
:errContent of profile summary report -
:statusDone
-
refresh
Reloads all changed files in dependency order.
- Required parameters
- Optional parameters
-
-
:afterThe namespace-qualified name of a zero-arity function to call after reloading. -
:beforeThe namespace-qualified name of a zero-arity function to call before reloading. -
:dirsList of directories to scan. If no directories given, defaults to all directories on the classpath. -
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:errorA sequence of all causes of the thrown exception whenstatusis:error. -
:error-nsThe namespace that caused reloading to fail whenstatusis:error. -
:reloadingList of namespaces that will be reloaded. -
:status:okif reloading was successful; otherwise:error.
-
refresh-all
Reloads all files in dependency order.
- Required parameters
- Optional parameters
-
-
:afterThe namespace-qualified name of a zero-arity function to call after reloading. -
:beforeThe namespace-qualified name of a zero-arity function to call before reloading. -
:dirsList of directories to scan. If no directories given, defaults to all directories on the classpath. -
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:errorA sequence of all causes of the thrown exception whenstatusis:error. -
:error-nsThe namespace that caused reloading to fail whenstatusis:error. -
:reloadingList of namespaces that will be reloaded. -
:status:okif reloading was successful; otherwise:error.
-
refresh-clear
Clears the state of the refresh middleware. This can help recover from a failed load or a circular dependency error.
- Required parameters
- Optional parameters
- Returns
resource
Obtain the path to a resource.
- Required parameters
-
-
:nameThe name of the resource in question.
-
- Optional parameters
- Returns
-
-
:resource-pathThe file path to a resource.
-
resources-list
Obtain a list of all resources on the classpath.
- Required parameters
- Optional parameters
- Returns
-
-
:resources-listThe list of resources.
-
retest
[DEPRECATED - use test-var-query instead] Run all tests in the project. If load? is truthy, all project namespaces are loaded; otherwise, only tests in presently loaded namespaces are run. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
- Required parameters
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:elapsed-timea report of the elapsed time spent running all the given namespaces. The structure is:elapsed-time {:ms <integer> :humanized <string>}. -
:fail-fastIf equals to the string "true", the tests will be considered complete after the first test has failed or errored. -
:ns-elapsed-timea report of the elapsed time spent running each namespace. The structure is:ns-elapsed-time {<ns as keyword> {:ms <integer> :humanized <string>}}. -
:resultsMisc information about the test result. The structure is:results {<ns as keyword> {<test var as keyword> [{,,, :elapsed-time {:ms <integer> :humanized <string>}}]}} -
:statusEither done or indication of an error -
:var-elapsed-timea report of the elapsed time spent running each var. The structure is:var-elapsed-time {<ns as keyword> {<var as keyword> {:ms <integer> :humanized <string>}}}.
-
set-max-samples
Sets maximum sample count. Returns new max-sample-count.
- Required parameters
-
-
:max-samplesMaximum samples to collect for any single var.
-
- Optional parameters
- Returns
-
-
:statusDone -
:valueString representing number of max-sample-count
-
slurp
Slurps a URL from the nREPL server, returning MIME data.
- Required parameters
- Optional parameters
- Returns
-
-
:bodyThe slurped content body. -
:content-transfer-encodingThe encoding (if any) for the content. -
:content-typeA MIME type for the response, if one can be detected.
-
spec-example
Return a string with a pretty printed example for a spec
- Required parameters
-
-
:spec-nameThe spec namespaced keyword we want the example for
-
- Optional parameters
- Returns
-
-
:exampleThe pretty printed spec example string -
:statusdone
-
spec-form
Return the form of a given spec
- Required parameters
-
-
:spec-nameThe spec namespaced keyword we are looking for
-
- Optional parameters
- Returns
-
-
:spec-formThe spec form -
:statusdone
-
spec-list
Return a sorted list of all specs in the registry
- Required parameters
- Optional parameters
-
-
:filter-regexOnly the specs that matches filter prefix regex will be returned
-
- Returns
-
-
:spec-listThe sorted list of all specs in the registry with their descriptions -
:statusdone
-
stacktrace
Return messages describing each cause and
stack frame of the most recent exception. This op is deprecated, please use the
analyze-last-stacktrace op instead.
- Required parameters
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:status"done", or "no-error" if*eis nil
-
test
[DEPRECATED - use test-var-query instead] Run tests in the specified namespace and return results. This accepts a set of tests to be run; if nil, runs all tests. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
- Required parameters
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:elapsed-timea report of the elapsed time spent running all the given namespaces. The structure is:elapsed-time {:ms <integer> :humanized <string>}. -
:fail-fastIf equals to the string "true", the tests will be considered complete after the first test has failed or errored. -
:ns-elapsed-timea report of the elapsed time spent running each namespace. The structure is:ns-elapsed-time {<ns as keyword> {:ms <integer> :humanized <string>}}. -
:resultsMisc information about the test result. The structure is:results {<ns as keyword> {<test var as keyword> [{,,, :elapsed-time {:ms <integer> :humanized <string>}}]}} -
:statusEither done or indication of an error -
:var-elapsed-timea report of the elapsed time spent running each var. The structure is:var-elapsed-time {<ns as keyword> {<var as keyword> {:ms <integer> :humanized <string>}}}.
-
test-all
Return exception cause and stack frame info for an erring test via the stacktrace middleware. The error to be retrieved is referenced by namespace, var name, and assertion index within the var.
- Required parameters
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:elapsed-timea report of the elapsed time spent running all the given namespaces. The structure is:elapsed-time {:ms <integer> :humanized <string>}. -
:fail-fastIf equals to the string "true", the tests will be considered complete after the first test has failed or errored. -
:ns-elapsed-timea report of the elapsed time spent running each namespace. The structure is:ns-elapsed-time {<ns as keyword> {:ms <integer> :humanized <string>}}. -
:resultsMisc information about the test result. The structure is:results {<ns as keyword> {<test var as keyword> [{,,, :elapsed-time {:ms <integer> :humanized <string>}}]}} -
:statusEither done or indication of an error -
:var-elapsed-timea report of the elapsed time spent running each var. The structure is:var-elapsed-time {<ns as keyword> {<var as keyword> {:ms <integer> :humanized <string>}}}.
-
test-stacktrace
Rerun all tests that did not pass when last run. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
- Required parameters
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
test-var-query
Run tests specified by the var-query and return results. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
- Required parameters
-
-
:var-queryA search query specifying the test vars to execute. See Orchard’s var query documentation for more details.
-
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:elapsed-timea report of the elapsed time spent running all the given namespaces. The structure is:elapsed-time {:ms <integer> :humanized <string>}. -
:fail-fastIf equals to the string "true", the tests will be considered complete after the first test has failed or errored. -
:ns-elapsed-timea report of the elapsed time spent running each namespace. The structure is:ns-elapsed-time {<ns as keyword> {:ms <integer> :humanized <string>}}. -
:resultsMisc information about the test result. The structure is:results {<ns as keyword> {<test var as keyword> [{,,, :elapsed-time {:ms <integer> :humanized <string>}}]}} -
:statusEither done or indication of an error -
:var-elapsed-timea report of the elapsed time spent running each var. The structure is:var-elapsed-time {<ns as keyword> {<var as keyword> {:ms <integer> :humanized <string>}}}.
-
toggle-profile
Toggle profiling of a given var.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to profile
-
- Optional parameters
- Returns
-
-
:statusDone -
:value'profiled' if profiling enabled, 'unprofiled' if disabled, 'unbound' if ns/sym not bound
-
toggle-profile-ns
Toggle profiling of given namespace.
- Required parameters
-
-
:nsThe current namespace
-
- Optional parameters
- Returns
-
-
:statusDone -
:value'profiled' if profiling enabled, 'unprofiled' if disabled
-
toggle-trace-ns
Toggle tracing of a given ns.
- Required parameters
-
-
:nsThe namespace to trace
-
- Optional parameters
- Returns
-
-
:ns-statusThe result of tracing operation
-
toggle-trace-var
Toggle tracing of a given var.
- Required parameters
-
-
:nsThe current namespace -
:symThe symbol to trace
-
- Optional parameters
- Returns
-
-
:var-nameThe fully-qualified name of the traced/untraced var -
:var-statusThe result of tracing operation
-
undef
Undefine a symbol
- Required parameters
-
-
:nsThe namespace is which to resolve sym (falls back to *ns* if not specified) -
:symThe symbol to undefine
-
- Optional parameters
- Returns
-
-
:statusdone
-
undef-all
Undefine all aliases and symbols in a namespace
- Required parameters
-
-
:nsThe namespace to operate on
-
- Optional parameters
- Returns
-
-
:statusdone
-
cider/log-add-appender
Add an appender to a log framework.
- Required parameters
-
-
:appenderThe name of the appender. -
:filtersA map from filter name to filter condition. -
:frameworkThe id of the log framework. -
:sizeThe number of events the appender keeps in memory. -
:thresholdThe threshold in percent used to cleanup events.
-
- Optional parameters
-
-
:loggerThe name of the logger to attach to.
-
- Returns
-
-
:statusdone -
:cider/log-add-appenderThe appender that was added.
-
cider/log-add-consumer
Add a consumer to an appender of a log framework.
- Required parameters
-
-
:appenderThe name of the appender. -
:filtersA map from filter name to filter condition. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-add-consumerThe consumer that was added.
-
cider/log-analyze-stacktrace
Analyze the stacktrace of a log event.
- Required parameters
-
-
:appenderThe name of the appender. -
:eventThe id of the event to inspect. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone
-
cider/log-clear-appender
Clear all events of a log appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-clear-appenderThe appender that was cleared.
-
cider/log-exceptions
Return the exceptions and their frequencies for the given framework and appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-exceptionsA map from exception name to event frequency.
-
cider/log-format-event
Format a log event.
- Required parameters
-
-
:appenderThe name of the log appender. -
:eventThe id of the log event. -
:frameworkThe id of the log framework.
-
- Optional parameters
-
-
:nrepl.middleware.print/buffer-sizeThe size of the buffer to use when streaming results. Defaults to 1024. -
:nrepl.middleware.print/keysA seq of the keys in the response whose values should be printed. -
:nrepl.middleware.print/optionsA map of options to pass to the printing function. Defaults tonil. -
:nrepl.middleware.print/printA fully-qualified symbol naming a var whose function to use for printing. Must point to a function with signature [value writer options]. -
:nrepl.middleware.print/quotaA hard limit on the number of bytes printed for each value. -
:nrepl.middleware.print/stream?If logical true, the result of printing each value will be streamed to the client over one or more messages.
-
- Returns
-
-
:statusdone -
:cider/log-format-eventThe formatted log event.
-
cider/log-frameworks
Return the available log frameworks.
- Required parameters
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-frameworksA list of log frameworks.
-
cider/log-inspect-event
Inspect a log event.
- Required parameters
-
-
:appenderThe name of the appender. -
:eventThe id of the event to inspect. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:valueThe inspection result.
-
cider/log-levels
Return the log levels and their frequencies for the given framework and appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-levelsA map from log level to event frequency.
-
cider/log-loggers
Return the loggers and their frequencies for the given framework and appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-loggersA map from logger name to event frequency.
-
cider/log-remove-appender
Remove an appender from a log framework.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-remove-appenderThe removed appender.
-
cider/log-remove-consumer
Remove a consumer from the appender of a log framework.
- Required parameters
-
-
:appenderThe name of the appender. -
:consumerThe name of the consumer. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-add-consumerThe removed consumer.
-
cider/log-search
Search the log events of an appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
-
-
:filtersA map from filter name to filter condition. -
:limitNumber of log events to return.
-
- Returns
-
-
:statusdone -
:cider/log-searchThe list of log events matching the search.
-
cider/log-threads
Return the threads and their frequencies for the given framework and appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-threadsA map from thread name to event frequency.
-
cider/log-update-appender
Update the appender of a log framework.
- Required parameters
-
-
:appenderThe name of the appender. -
:filtersA map from filter name to filter condition. -
:frameworkThe id of the log framework. -
:sizeThe number of events the appender keeps in memory. -
:thresholdThe threshold in percent used to cleanup events.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-update-appenderThe updated appender.
-
cider/log-update-consumer
Update the consumer of a log appender.
- Required parameters
-
-
:appenderThe name of the appender. -
:consumerThe name of the consumer. -
:filtersA map from filter name to filter condition. -
:frameworkThe id of the log framework.
-
- Optional parameters
- Returns
-
-
:statusdone -
:cider/log-update-consumerThe consumer that was updated.
-
cider.clj-reload/reload
Reloads all changed files in dependency order, using the io.github.tonsky/clj-reload library. It is bundled with cider-nrepl. If that dependency is already in present your project and clj-reload.core/init has been invoked beforehand, those configured directories will be honored.
- Required parameters
- Optional parameters
-
-
:afterThe namespace-qualified name of a zero-arity function to call after reloading. -
:beforeThe namespace-qualified name of a zero-arity function to call before reloading.
-
- Returns
-
-
:errorA sequence of all causes of the thrown exception whenstatusis:error. -
:progressDescription of current namespace being unloaded/loaded. -
:status:okif reloading was successful; otherwise:error.
-
cider.clj-reload/reload-all
Reloads all files in dependency order.
- Required parameters
- Optional parameters
-
-
:afterThe namespace-qualified name of a zero-arity function to call after reloading. -
:beforeThe namespace-qualified name of a zero-arity function to call before reloading.
-
- Returns
-
-
:errorA sequence of all causes of the thrown exception whenstatusis:error. -
:reloadingDescription of current namespace being unloaded/loaded. -
:status:okif reloading was successful; otherwise:error.
-