Skip to content

Instantly share code, notes, and snippets.

@dpsutton
Last active June 22, 2020 01:51
Show Gist options
  • Save dpsutton/5b56fa43b8194860ef74225c1f54933a to your computer and use it in GitHub Desktop.
Save dpsutton/5b56fa43b8194860ef74225c1f54933a to your computer and use it in GitHub Desktop.
(let (defcustoms)
(dolist (file (directory-files "/Users/dan/projects/dev/cider" t "\.el"))
(unless (string-match-p "dir-locals" file)
(with-current-buffer (find-file file)
(goto-char (point-min))
(while (re-search-forward "defcustom" nil t)
(let ((custom (substring-no-properties (progn (paredit-forward 1)
(thing-at-point 'sexp))))
(docstring (substring-no-properties (progn (paredit-forward 2)
(or (thing-at-point 'sexp)
"no docstring provided")))))
(push (list (file-name-nondirectory file) custom docstring)
defcustoms))))))
(with-current-buffer (get-buffer-create "*defcustoms-from-cider*")
;; will yield the following
nrepl-client.el : nrepl-message-colors : "Colors used in the messages buffer."
==============
nrepl-client.el : nrepl-log-messages : "If non-nil, log protocol messages to an nREPL messages buffer.
This is extremely useful for debug purposes, as it allows you to inspect
the communication between Emacs and an nREPL server. Enabling the logging
might have a negative impact on performance, so it's not recommended to
keep it enabled unless you need to debug something."
==============
nrepl-client.el : nrepl-hide-special-buffers : "Control the display of some special buffers in buffer switching commands.
When true some special buffers like the server buffer will be hidden."
==============
nrepl-client.el : nrepl-sync-request-timeout : "The number of seconds to wait for a sync response.
Setting this to nil disables the timeout functionality."
==============
nrepl-client.el : nrepl-use-ssh-fallback-for-remote-hosts : "If non-nil, attempt to connect via ssh to remote hosts when unable to connect directly."
==============
nrepl-client.el : nrepl-force-ssh-for-remote-hosts : "If non-nil, do not attempt a direct connection for remote hosts."
==============
nrepl-client.el : nrepl-disconnected-hook : "List of functions to call when disconnected from the nREPL server."
==============
nrepl-client.el : nrepl-connected-hook : "List of functions to call when connecting to the nREPL server."
==============
nrepl-client.el : nrepl-buffer-name-show-port : (make-obsolete-variable 'nrepl-buffer-name-show-port 'cider-session-name-template "0.18")
==============
nrepl-client.el : nrepl-buffer-name-separator : (make-obsolete-variable 'nrepl-buffer-name-separator 'cider-session-name-template "0.18")
==============
cider.el : cider-infer-remote-nrepl-ports : "When true, cider will use ssh to try to infer nREPL ports on remote hosts."
==============
cider.el : cider-edit-jack-in-command : "When truthy allow the user to edit the command."
==============
cider.el : cider-default-cljs-repl : "The default ClojureScript REPL to start.
This affects commands like `cider-jack-in-cljs'. Generally it's
intended to be set via .dir-locals.el for individual projects, as its
relatively unlikely you'd like to use the same type of REPL in each project
you're working on."
==============
cider.el : cider-custom-cljs-repl-init-form : "The form used to start a custom ClojureScript REPL.
When set it becomes the return value of the `cider-custom-cljs-repl-init-form'
function, which normally prompts for the init form.
This defcustom is mostly intended for use with .dir-locals.el for
cases where it doesn't make sense to register a new ClojureScript REPL type."
==============
cider.el : cider-figwheel-main-default-options : "Defines the `figwheel.main/start' options.
Note that figwheel-main/start can also accept a map of options, refer to
Figwheel for details."
==============
cider.el : cider-shadow-default-options : "Defines default `shadow-cljs' options."
==============
cider.el : cider-check-cljs-repl-requirements : "When non-nil will run the requirement checks for the different cljs repls.
Generally you should not disable this unless you run into some faulty check."
==============
cider.el : cider-jack-in-auto-inject-clojure : "Version of clojure to auto-inject into REPL.
If nil, do not inject Clojure into the REPL. If `latest', inject
`cider-latest-clojure-version', which should approximate to the most recent
version of Clojure. If `minimal', inject `cider-minimum-clojure-version',
which will be the lowest version CIDER supports. If a string, use this as
the version number. If it is a list, the first element should be a string,
specifying the artifact ID, and the second element the version number."
==============
cider.el : cider-offer-to-open-cljs-app-in-browser : "When nil, do not offer to open ClojureScript apps in a browser on connect."
==============
cider.el : cider-inject-dependencies-at-jack-in : "When nil, do not inject repl dependencies (most likely nREPL middlewares) at `cider-jack-in' time."
==============
cider.el : cider-disconnected-hook : "List of functions to call when disconnected from the Clojure nREPL server."
==============
cider.el : cider-connected-hook : "List of functions to call when connected to Clojure nREPL server."
==============
cider.el : cider-known-endpoints : "A list of connection endpoints where each endpoint is a list.
For example: \\='((\"label\" \"host\" \"port\")).
The label is optional so that \\='(\"host\" \"port\") will suffice.
This variable is used by `cider-connect'."
==============
cider.el : cider-allow-jack-in-without-project : "Controls what happens when doing `cider-jack-in' outside a project.
When set to 'warn you'd prompted to confirm the command.
When set to t `cider-jack-in' will quietly continue.
When set to nil `cider-jack-in' will fail."
==============
cider.el : cider-preferred-build-tool : "Allow choosing a build system when there are many.
When there are project markers from multiple build systems (e.g. lein and
boot) the user is prompted to select one of them. When non-nil, this
variable will suppress this behavior and will select whatever build system
is indicated by the variable if present. Note, this is only when CIDER
cannot decide which of many build systems to use and will never override a
command when there is no ambiguity."
==============
cider.el : cider-jack-in-default : "The default tool to use when doing `cider-jack-in' outside a project.
This value will only be consulted when no identifying file types, i.e.
project.clj for leiningen or build.boot for boot, could be found.
As the Clojure CLI is bundled with Clojure itself, it's the default.
In the absence of the Clojure CLI (e.g. on Windows), we fallback
to Leiningen."
==============
cider.el : cider-gradle-parameters : "Params passed to gradle to start an nREPL server via `cider-jack-in'."
==============
cider.el : cider-gradle-global-options : "Command line options used to execute Gradle (e.g.: -m for dry run)."
==============
cider.el : cider-gradle-command : "The command used to execute Gradle."
==============
cider.el : cider-shadow-cljs-parameters : "Params passed to shadow-cljs to start an nREPL server via `cider-jack-in'."
==============
cider.el : cider-shadow-cljs-global-options : "Command line options used to execute shadow-cljs (e.g.: -v for verbose mode)."
==============
cider.el : cider-shadow-cljs-command : "The command used to execute shadow-cljs.
By default we favor the project-specific shadow-cljs over the system-wide."
==============
cider.el : cider-clojure-cli-parameters : "Params passed to clojure to start an nREPL server via `cider-jack-in'.
This is evaluated using `format', with the first argument being the Clojure
vector of middleware variables as a string."
==============
cider.el : cider-clojure-cli-global-options : "Command line options used to execute clojure with tools.deps."
==============
cider.el : cider-clojure-cli-command : "The command used to execute clojure with tools.deps (requires Clojure 1.9+).
Don't use clj here, as it doesn't work when spawned from Emacs due to it
using rlwrap. If on Windows and no \"clojure\" executable is found we
default to \"powershell\"."
==============
cider.el : cider-boot-parameters : "Params passed to boot to start an nREPL server via `cider-jack-in'."
==============
cider.el : cider-boot-global-options : "Command global options used to execute Boot (e.g.: -c for checkouts)."
==============
cider.el : cider-boot-command : "The command used to execute Boot."
==============
cider.el : cider-lein-parameters : "Params passed to Leiningen to start an nREPL server via `cider-jack-in'."
==============
cider.el : cider-lein-global-options : "Command global options used to execute Leiningen (e.g.: -o for offline)."
==============
cider.el : cider-lein-command : "The command used to execute Leiningen."
==============
cider-xref.el : cider-xref-actions : "Controls the actions to be applied on the symbol found by an xref search.
The first action key in the list will be selected as default. If the list
contains only one action key, the associated action function will be
applied automatically. An action function can be any function that receives
the symbol found by the xref search as argument."
==============
cider-util.el : cider-jdk-src-paths : "Used by `cider-stacktrace-navigate'.
Zip/jar files work, but it's better to extract them and put the directory
paths here. Clojure sources here:
https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0/."
==============
cider-util.el : cider-doc-xref-regexp : "The regexp used to search Clojure vars in doc buffers."
==============
cider-util.el : cider-font-lock-max-length : "The max length of strings to fontify in `cider-font-lock-as'.
Setting this to nil removes the fontification restriction."
==============
cider-test.el : cider-test-infer-test-ns : "Function to infer the test namespace for NS.
The default implementation uses the simple Leiningen convention of appending
'-test' to the namespace name."
==============
cider-test.el : cider-test-defining-forms : "Forms that define individual tests.
CIDER considers the \"top-level\" form around point to define a test if
the form starts with one of these forms.
Add to this list to have CIDER recognize additional test defining macros."
==============
cider-test.el : cider-auto-select-test-report-buffer : "Determines if the test-report buffer should be auto-selected."
==============
cider-test.el : cider-test-show-report-on-success : "Whether to show the `*cider-test-report*` buffer on passing tests."
==============
cider-stacktrace.el : cider-stacktrace-suppressed-errors : "Errors that won't make the stacktrace buffer 'pop-over' your active window.
The error types are represented as strings."
==============
cider-stacktrace.el : cider-stacktrace-default-filters : "Frame types to omit from initial stacktrace display."
==============
cider-stacktrace.el : cider-stacktrace-fill-column : "Fill column for error messages in stacktrace display.
If nil, messages will not be wrapped. If truthy but non-numeric,
`fill-column' will be used."
==============
cider-scratch.el : cider-scratch-initial-message : "The initial message displayed in new scratch buffers."
==============
cider-repl.el : cider-repl-shortcut-dispatch-char : "Character used to distinguish REPL commands from Lisp forms."
==============
cider-repl.el : cider-repl-history-file : "File to save the persistent REPL history to."
==============
cider-repl.el : cider-repl-history-size : "The maximum number of items to keep in the REPL history."
==============
cider-repl.el : cider-repl-wrap-history : "T to wrap history around when the end is reached."
==============
cider-repl.el : cider-locref-regexp-alist : "Alist holding regular expressions for inline location references.
Each element in the alist has the form (NAME REGEXP HIGHLIGHT VAR FILE
LINE), where NAME is the identifier of the regexp, REGEXP - regexp matching
a location, HIGHLIGHT - sub-expression matching region to highlight on
mouse-over, VAR - sub-expression giving Clojure VAR to look up. FILE is
currently only used when VAR is nil and must be full resource path in that
case."
==============
cider-repl.el : cider-repl-image-margin : "Specifies the margin to be applied to images displayed in the REPL.
Either a single number of pixels - interpreted as a symmetric margin, or
pair of numbers `(x . y)' encoding an arbitrary margin."
==============
cider-repl.el : cider-repl-prompt-function : "A function that returns a prompt string.
Takes one argument, a namespace name.
For convenience, three functions are already provided for this purpose:
`cider-repl-prompt-lastname', `cider-repl-prompt-abbreviated', and
`cider-repl-prompt-default'"
==============
cider-repl.el : cider-repl-display-help-banner : "When non-nil a bit of help text will be displayed on REPL start."
==============
cider-repl.el : cider-repl-init-code : "Clojure code to evaluate when starting a REPL.
Will be evaluated with bindings for set!-able vars in place."
==============
cider-repl.el : cider-repl-tab-command : "Select the command to be invoked by the TAB key.
The default option is `cider-repl-indent-and-complete-symbol'. If
you'd like to use the default Emacs behavior use
`indent-for-tab-command'."
==============
cider-repl.el : cider-repl-result-prefix : "The prefix displayed in the REPL before a result value.
By default there's no prefix, but you can specify something
like \"=>\" if want results to stand out more."
==============
cider-repl.el : cider-repl-require-ns-on-set : "Controls whether to require the ns before setting it in the REPL."
==============
cider-repl.el : cider-repl-use-clojure-font-lock : "Non-nil means to use Clojure mode font-locking for input and result.
Nil means that `cider-repl-input-face' and `cider-repl-result-face'
will be used."
==============
cider-repl.el : cider-repl-auto-detect-type : "Control whether to auto-detect the REPL type using track-state information.
If you disable this you'll have to manually change the REPL type between
Clojure and ClojureScript when invoking REPL type changing forms.
Use `cider-set-repl-type' to manually change the REPL type."
==============
cider-repl.el : cider-repl-use-content-types : "Control whether REPL results are presented using content-type information.
The `cider-repl-toggle-content-types' command can be used to interactively
change the setting's value."
==============
cider-repl.el : cider-repl-use-pretty-printing : "Control whether results in the REPL are pretty-printed or not.
The REPL will use the printer specified in `cider-pprint-fn'.
The `cider-toggle-pretty-printing' command can be used to interactively
change the setting's value."
==============
cider-repl.el : cider-repl-display-in-current-window : "Controls whether the REPL buffer is displayed in the current window."
==============
cider-repl.el : cider-repl-pop-to-buffer-on-connect : "Controls whether to pop to the REPL buffer on connect.
When set to nil the buffer will only be created, and not displayed. When
set to `display-only' the buffer will be displayed, but it will not become
focused. Otherwise the buffer is displayed and focused."
==============
cider-repl-history.el : cider-repl-history-show-preview : "If non-nil, show a preview of the inserted text in the REPL buffer.
The REPL buffer would show a preview of what the buffer would look like
if the item under point were inserted."
==============
cider-repl-history.el : cider-repl-history-hook : "A list of functions to call after `cider-repl-history'."
==============
cider-repl-history.el : cider-repl-history-text-properties : "If non-nil, maintain text properties of the command history items."
==============
cider-repl-history.el : cider-repl-history-display-duplicate-highest : "When `cider-repl-history-display-duplicates' is nil, then display highest (most recent) duplicate items in the command history."
==============
cider-repl-history.el : cider-repl-history-display-duplicates : "If non-nil, then display duplicate items in the command history."
==============
cider-repl-history.el : cider-repl-history-maximum-display-length : "Whether or not to limit the length of displayed items.
If this variable is an integer, the display of the command history will be
limited to that many characters.
Setting this variable to nil means no limit."
==============
cider-repl-history.el : cider-repl-history-inserted-item-face : "The face in which to highlight the inserted item."
==============
cider-repl-history.el : cider-repl-history-current-entry-face : "The face in which to highlight the command history current entry."
==============
cider-repl-history.el : cider-repl-history-separator-face : "The face in which to highlight the `cider-repl-history-separator'."
==============
cider-repl-history.el : cider-repl-history-highlight-inserted-item : "If non-nil, then temporarily highlight the inserted command history entry.
The value selected controls how the inserted item is highlighted,
possible values are `solid' (highlight the inserted text for a
fixed period of time), or `pulse' (fade out the highlighting gradually).
Setting this variable to the value t will select the default
highlighting style, which currently `pulse'.
The variable `cider-repl-history-inserted-item-face' contains the
face used for highlighting."
==============
cider-repl-history.el : cider-repl-history-highlight-current-entry : "If non-nil, highlight the currently selected command history entry."
==============
cider-repl-history.el : cider-repl-history-recenter : "If non-nil, then always keep the current entry at the top of the window."
==============
cider-repl-history.el : cider-repl-history-separator : "The string separating entries in the `separated' style.
See `cider-repl-history-display-style'."
==============
cider-repl-history.el : cider-repl-history-resize-window : "Whether to resize the `cider-repl-history' window to fit its contents.
Value is either t, meaning yes, or a cons pair of integers,
(MAXIMUM . MINIMUM) for the size of the window. MAXIMUM defaults to
the window size chosen by `pop-to-buffer'; MINIMUM defaults to
`window-min-height'."
==============
cider-repl-history.el : cider-repl-history-quit-action : "What action to take when `cider-repl-history-quit' is called.
If `bury-buffer', then simply bury the *cider-repl-history* buffer, but keep
the window.
If `bury-and-delete-window', then bury the buffer, and (if there is
more than one window) delete the window.
If `delete-and-restore', then restore the window configuration to what it was
before `cider-repl-history' was called, and kill the *cider-repl-history*
buffer.
If `quit-window', then restore the window configuration to what
it was before `cider-repl-history' was called, and bury *cider-repl-history*.
This is the default.
If `kill-and-delete-window', then kill the *cider-repl-history* buffer, and
delete the window on close.
Otherwise, it should be a function to call."
==============
cider-repl-history.el : cider-repl-history-display-style : "How to display the CIDER command history items.
If `one-line', then replace newlines with \"\\n\" for display.
If `separated', then display `cider-repl-history-separator' between
entries."
==============
cider-overlays.el : cider-use-fringe-indicators : "Whether to display evaluation indicators on the left fringe."
==============
cider-overlays.el : cider-eval-result-duration : "Duration, in seconds, of CIDER's eval-result overlays.
If nil, overlays last indefinitely.
If the symbol `command', they're erased after the next command.
Also see `cider-use-overlays'."
==============
cider-overlays.el : cider-eval-result-prefix : "The prefix displayed in the minibuffer before a result value."
==============
cider-overlays.el : cider-result-overlay-position : "Where to display result overlays for inline evaluation and the debugger.
If 'at-eol, display at the end of the line.
If 'at-point, display at the end of the respective sexp."
==============
cider-overlays.el : cider-use-overlays : "Whether to display evaluation results with overlays.
If t, use overlays determined by `cider-result-overlay-position'.
If nil, display on the echo area.
If both, display on both places.
Only applies to evaluation commands. To configure the debugger overlays,
see `cider-debug-use-overlays'."
==============
cider-overlays.el : cider-overlays-use-font-lock : "If non-nil, results overlays are font-locked as Clojure code.
If nil, apply `cider-result-overlay-face' to the entire overlay instead of
font-locking it."
==============
cider-overlays.el : cider-result-use-clojure-font-lock : "If non-nil, interactive eval results are font-locked as Clojure code."
==============
cider-ns.el : cider-ns-refresh-after-fn : "Clojure function for `cider-ns-refresh' to call after reloading.
If nil, nothing will be invoked after reloading. Must be a
namespace-qualified function of zero arity."
==============
cider-ns.el : cider-ns-refresh-before-fn : "Clojure function for `cider-ns-refresh' to call before reloading.
If nil, nothing will be invoked before reloading. Must be a
namespace-qualified function of zero arity. Any thrown exception will
prevent reloading from occurring."
==============
cider-ns.el : cider-ns-refresh-show-log-buffer : "Controls when to display the refresh log buffer.
If non-nil, the log buffer will be displayed every time `cider-ns-refresh' is
called. If nil, the log buffer will still be written to, but will never be
displayed automatically. Instead, the most relevant information will be
displayed in the echo area."
==============
cider-ns.el : cider-ns-save-files-on-refresh-modes : "Controls which files might be saved before refreshing.
If a list of modes, any buffers visiting files on the classpath whose major
mode is derived from any of the modes might be saved.
If t, all buffers visiting files on the classpath might be saved."
==============
cider-ns.el : cider-ns-save-files-on-refresh : "Controls whether to prompt to save files before refreshing.
If nil, files are not saved.
If 'prompt, the user is prompted to save files if they have been modified.
If t, save the files without confirmation."
==============
cider-mode.el : cider-use-tooltips : "If non-nil, CIDER displays mouse-over tooltips, as well as the `help-echo' mechanism."
==============
cider-mode.el : cider-font-lock-reader-conditionals : "Apply font-locking to unused reader conditional expressions depending on the buffer CIDER connection type."
==============
cider-mode.el : cider-font-lock-dynamically : "Specifies how much dynamic font-locking CIDER should use.
Dynamic font-locking this refers to applying syntax highlighting to vars
defined in the currently active nREPL connection. This is done in addition
to `clojure-mode's usual (static) font-lock, so even if you set this
variable to nil you'll still see basic syntax highlighting.
The value is a list of symbols, each one indicates a different type of var
that should be font-locked:
`macro' (default): Any defined macro gets the `font-lock-keyword-face'.
`function': Any defined function gets the `font-lock-function-face'.
`var': Any non-local var gets the `font-lock-variable-name-face'.
`deprecated' (default): Any deprecated var gets the `cider-deprecated-face'
face.
`core' (default): Any symbol from clojure.core (face depends on type).
The value can also be t, which means to font-lock as much as possible."
==============
cider-mode.el : cider-dynamic-indentation : "Whether CIDER should aid Clojure(Script) indentation.
If non-nil, CIDER uses runtime information (such as the \":style/indent\"
metadata) to improve standard `clojure-mode' indentation.
If nil, CIDER won't interfere with `clojure-mode's indentation.
Toggling this variable only takes effect after a file is closed and
re-visited."
==============
cider-mode.el : cider-invert-insert-eval-p : "Whether to invert the behavior of evaling.
Default behavior when inserting is to NOT eval the form and only eval with
a prefix. This allows to invert this so that default behavior is to insert
and eval and the prefix is required to prevent evaluation."
==============
cider-mode.el : cider-switch-to-repl-on-insert : "Whether to switch to the repl when inserting a form into the repl."
==============
cider-mode.el : cider-switch-to-repl-after-insert-p : "Whether to switch to the repl after inserting a form into the repl."
==============
cider-mode.el : cider-mode-line : "Mode line lighter for cider mode.
The value of this variable is a mode line template as in
`mode-line-format'. See Info Node `(elisp)Mode Line Format' for details
about mode line templates.
Customize this variable to change how cider mode displays its status in the
mode line. The default value displays the current connection. Set this
variable to nil to disable the mode line entirely."
==============
cider-mode.el : cider-mode-line-show-connection : "If the mode-line lighter should detail the connection."
==============
cider-macroexpansion.el : cider-macroexpansion-print-metadata : "Determines if metadata is included in macroexpansion results."
==============
cider-macroexpansion.el : cider-macroexpansion-display-namespaces : "Determines if namespaces are displayed in the macroexpansion buffer.
Possible values are:
'qualified ;=> Vars are fully-qualified in the expansion
'none ;=> Vars are displayed without namespace qualification
'tidy ;=> Vars that are :refer-ed or defined in the current namespace are
displayed with their simple name, non-referred vars from other
namespaces are referred using the alias for that namespace (if
defined), other vars are displayed fully qualified."
==============
cider-inspector.el : cider-inspector-skip-uninteresting : "Controls whether to skip over uninteresting values in the inspector.
Only applies to navigation with `cider-inspector-prev-inspectable-object'
and `cider-inspector-next-inspectable-object', values are still inspectable
by clicking or navigating to them by other means."
==============
cider-inspector.el : cider-inspector-fill-frame : "Controls whether the CIDER inspector window fills its frame."
==============
cider-inspector.el : cider-inspector-page-size : "Default page size in paginated inspector view.
The page size can be also changed interactively within the inspector."
==============
cider-eval.el : cider-comment-postfix : "The postfix to be appended after the final line of commented output."
==============
cider-eval.el : cider-comment-continued-prefix : "The prefix to use on the second and subsequent lines of commented output."
==============
cider-eval.el : cider-comment-prefix : "The prefix to insert before the first line of commented output."
==============
cider-eval.el : cider-interactive-eval-output-destination : "The destination for stdout and stderr produced from interactive evaluation."
==============
cider-eval.el : cider-file-loaded-hook : "List of functions to call when a load file has completed."
==============
cider-eval.el : cider-save-file-on-load : "Controls whether to prompt to save the file when loading a buffer.
If nil, files are not saved.
If 'prompt, the user is prompted to save the file if it's been modified.
If t, save the file without confirmation."
==============
cider-eval.el : cider-auto-inspect-after-eval : "Controls whether to auto-update the inspector buffer after eval.
Only applies when the *cider-inspect* buffer is currently visible."
==============
cider-eval.el : cider-auto-track-ns-form-changes : "Controls whether to auto-evaluate a source buffer's ns form when changed.
When non-nil CIDER will check for ns form changes before each eval command.
When nil the users are expected to take care of the re-evaluating updated
ns forms manually themselves."
==============
cider-eval.el : cider-auto-select-error-buffer : "Controls whether to auto-select the error popup buffer."
==============
cider-eval.el : cider-auto-jump-to-error : "Control the cursor jump behaviour in compilation error buffer.
When non-nil automatically jump to error location during interactive
compilation. When set to 'errors-only, don't jump to warnings.
When set to nil, don't jump at all."
==============
cider-eval.el : cider-show-error-buffer : "Control the popup behavior of cider stacktraces.
The following values are possible t or 'always, 'except-in-repl,
'only-in-repl. Any other value, including nil, will cause the stacktrace
not to be automatically shown.
Irespective of the value of this variable, the `cider-error-buffer' is
always generated in the background. Use `cider-selector' to
navigate to this buffer."
==============
cider-eldoc.el : (if cider-eldoc-display-context-dependent-info
(cond
;; add inputs of datomic query
((and (equal ns-or-class "datomic.api")
(equal name-or-member "q"))
(let ((arglists (lax-plist-get eldoc-plist "arglists")))
(lax-plist-put eldoc-plist "arglists"
(cider--eldoc-add-datomic-query-inputs-to-arglists arglists))))
;; if none of the clauses is successful, do cache the eldoc
(t (setq cider-eldoc-last-symbol (list thing eldoc-plist))))
;; middleware eldoc lookups are expensive, so we
;; cache the last lookup. This eliminates the need
;; for extra middleware requests within the same sexp.
(setq cider-eldoc-last-symbol (list thing eldoc-plist))) : no docstring provided
==============
cider-eldoc.el : cider-eldoc-display-context-dependent-info : "When non-nil, display context dependent info in the eldoc where possible.
CIDER will try to add expected function arguments based on the current context,
for example for the datomic.api/q function where it will show the expected
inputs of the query at point."
==============
cider-eldoc.el : cider-eldoc-display-for-symbol-at-point : "When non-nil, display eldoc for symbol at point if available.
So in (map inc ...) when the cursor is over inc its eldoc would be
displayed. When nil, always display eldoc for first symbol of the sexp."
==============
cider-eldoc.el : cider-eldoc-max-class-names-to-display : "The maximum number of classes to display in an eldoc string.
An eldoc string for Java interop forms can have a number of classes prefixed to
it, when the form belongs to more than 1 class. When, not nil we only display
the names of first `cider-eldoc-max-class-names-to-display' classes and add
a \"& x more\" suffix. Otherwise, all the classes are displayed."
==============
cider-eldoc.el : cider-eldoc-ns-function : "A function that returns a ns string to be used by eldoc.
Takes one argument, a namespace name.
For convenience, some functions are already provided for this purpose:
`cider-abbreviate-ns', and `cider-last-ns-segment'."
==============
cider-eldoc.el : cider-eldoc-max-num-sexps-to-skip : "The maximum number of sexps to skip while searching the beginning of current sexp."
==============
cider-doc.el : cider-docview-fill-column : "Fill column for docstrings in doc buffer."
==============
cider-doc.el : cider-doc-auto-select-buffer : "Controls whether to auto-select the doc popup buffer."
==============
cider-debug.el : cider-debug-prompt-commands : "A list of debugger command specs.
Specs are in the format (KEY COMMAND-NAME DISPLAY-NAME?)
where KEY is a character which is mapped to the command
COMMAND-NAME is a valid debug command to be passed to the cider-nrepl middleware
DISPLAY-NAME is the string displayed in the debugger overlay
If DISPLAY-NAME is nil, that command is hidden from the overlay but still callable.
The rest of the commands are displayed in the same order as this list."
==============
cider-debug.el : cider-debug-display-locals : "If non-nil, local variables are displayed while debugging.
Can be toggled at any time with `\\[cider-debug-toggle-locals]'."
==============
cider-debug.el : cider-debug-use-overlays : "Whether to higlight debugging information with overlays.
Takes the same possible values as `cider-use-overlays', but only applies to
values displayed during debugging sessions.
To control the overlay that lists possible keys above the current function,
configure `cider-debug-prompt' instead."
==============
cider-debug.el : cider-debug-prompt : "If and where to show the keys while debugging.
If `minibuffer', show it in the minibuffer along with the return value.
If `overlay', show it in an overlay above the current function.
If t, do both.
If nil, don't list available keys at all."
==============
cider-connection.el : cider-auto-mode : "When non-nil, automatically enable cider mode for all Clojure buffers."
==============
cider-connection.el : cider-redirect-server-output-to-repl : "Controls whether nREPL server output would be redirected to the REPL.
When non-nil the output would end up in both the nrepl-server buffer (when
available) and the matching REPL buffer."
==============
cider-connection.el : cider-connection-message-fn : "The function to use to generate the message displayed on connect.
When set to nil no additional message will be displayed. A good
alternative to the default is `cider-random-tip'."
==============
cider-connection.el : cider-session-name-template : "Format string to use for session names.
See `cider-format-connection-params' for available format characters."
==============
cider-completion.el : cider-completion-annotations-include-ns : "Controls passing of namespaces to `cider-annotate-completion-function'.
When set to 'always, the candidate's namespace will always be passed if it
is available. When set to 'unqualified, the namespace will only be passed
if the candidate is not namespace-qualified."
==============
cider-completion.el : cider-completion-annotations-alist : "Controls the abbreviations used when annotating completion candidates.
Must be a list of elements with the form (TYPE . ABBREVIATION), where TYPE
is a possible value of the candidate's type returned from the completion
backend, and ABBREVIATION is a short form of that type."
==============
cider-completion.el : cider-annotate-completion-function : "Controls how the annotations for completion candidates are formatted.
Must be a function that takes two arguments: the abbreviation of the
candidate type according to `cider-completion-annotations-alist' and the
candidate's namespace."
==============
cider-completion.el : cider-annotate-completion-candidates : "When true, annotate completion candidates with some extra information."
==============
cider-completion.el : cider-completion-use-context : "When true, uses context at point to improve completion suggestions."
==============
cider-common.el : cider-prefer-local-resources : "Prefer local resources to remote (tramp) ones when both are available."
==============
cider-common.el : cider-path-translations : "Alist of path prefixes to path prefixes.
Useful to intercept the location of a path in a docker image and translate
to the oringal location. If your project is located at \"~/projects/foo\"
and the src directory of foo is mounted at \"/src\" in the docker
container, the alist would be `((\"/src\" \"~/projects/foo/src\"))"
==============
cider-common.el : cider-jump-to-pop-to-buffer-actions : "Determines what window `cider-jump-to` uses.
The value is passed as the `action` argument to `pop-to-buffer`.
The default value means:
- If the target file is already visible in a window, reuse it (switch to it).
- Otherwise, open the target buffer in the current window.
For further details, see https://docs.cider.mx/cider/repl/configuration.html#_control_what_window_to_use_when_jumping_to_a_definition"
==============
cider-common.el : cider-special-mode-truncate-lines : "If non-nil, contents of CIDER's special buffers will be line-truncated.
Should be set before loading CIDER."
==============
cider-common.el : cider-prompt-for-symbol : "Controls when to prompt for symbol when a command requires one.
When non-nil, always prompt, and use the symbol at point as the default
value at the prompt.
When nil, attempt to use the symbol at point for the command, and only
prompt if that throws an error."
==============
cider-client.el : cider-filtered-namespaces-regexps : "List of regexps used to filter out some vars/symbols/namespaces.
When nil, nothing is filtered out. Otherwise, all namespaces matching any
regexp from this list are dropped out of the \"ns-list\" op. Also,
\"apropos\" won't include vars from such namespaces. This list is passed
on to the nREPL middleware without any pre-processing. So the regexps have
to be in Clojure format (with twice the number of backslashes) and not
Emacs Lisp."
==============
cider-client.el : cider-print-buffer-size : "The size in bytes of each value/output chunk when using print streaming.
Smaller values mean smaller data chunks and faster feedback, but they also mean
smaller results that can be font-locked as Clojure in the REPL buffers, as only
a single chunk result can be font-locked.
The default value in nREPL is 1024."
==============
cider-client.el : cider-print-quota : "A hard limit on the number of bytes to return from any printing operation.
Set to nil for no limit."
==============
cider-client.el : cider-print-options : "A map of options that will be passed to `cider-print-fn'.
Here's an example for `pprint':
'((\"length\" 50) (\"right-margin\" 70))"
==============
cider-client.el : cider-print-fn : "Sets the function to use for printing.
nil – to defer to nREPL to choose the printing function. This will use
the bound value of \\=`nrepl.middleware.print/*print-fn*\\=`, which
defaults to the equivalent of \\=`clojure.core/pr\\=`.
`pr' – to use the equivalent of \\=`clojure.core/pr\\=`.
`pprint' – to use \\=`clojure.pprint/pprint\\=` (this is the default).
`fipp' – to use the Fast Idiomatic Pretty Printer, approximately 5-10x
faster than \\=`clojure.core/pprint\\=`.
`puget' – to use Puget, which provides canonical serialization of data on
top of fipp, but at a slight performance cost.
`zprint' – to use zprint, a fast and flexible alternative to the libraries
mentioned above.
Alternatively can be the namespace-qualified name of a Clojure var whose
function takes three arguments: the object to print, the
\\=`java.io.PrintWriter\\=` to print on, and a (possibly nil) map of
options. If the function cannot be resolved, will behave as if set to
nil."
==============
cider-client.el : cider-enhanced-cljs-completion-p : "This setting enables dynamic cljs completions.
That is, expressions at point are evaluated and the properties of the
resulting value are used to compute completions."
==============
cider-client.el : cider-eval-spinner-delay : "Amount of time, in seconds, after which the evaluation spinner will be shown."
==============
cider-client.el : cider-show-eval-spinner : "When true, show the evaluation spinner in the mode line."
==============
cider-client.el : cider-eval-spinner-type : "Appearance of the evaluation spinner.
Value is a symbol. The possible values are the symbols in the
`spinner-types' variable."
==============
cider-apropos.el : cider-apropos-actions : "Controls the actions to be applied on the symbol found by an apropos search.
The first action key in the list will be selected as default. If the list
contains only one action key, the associated action function will be
applied automatically. An action function can be any function that receives
the symbol found by the apropos search as argument."
==============
(erase-buffer)
(dolist (dc defcustoms)
(insert (car dc) " : " (cadr dc) " : " (caddr dc) "\n==============\n"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment