You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/usage/code_evaluation.adoc
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,11 @@ Typically this type of evaluation commands would provide you with dual feedback
55
55
you'd see the results in both the Emacs minibuffer and in an inline overlay in
56
56
the source buffer.
57
57
58
+
In case the result of the evaluation is big (e.g. a map with dozens of keys) it might be best
59
+
to display it in a dedicated buffer. You can do this with
60
+
`cider-pprint-eval-last-sexp` (kbd:[C-c C-p]). As a bonus -
61
+
the result will be pretty-printed in the result buffer.
62
+
58
63
== Exotic Evaluation Commands
59
64
60
65
NOTE: WIP
@@ -67,10 +72,10 @@ This section will briefly go over some of them.
67
72
Broadly speaking the exotic evaluation commands can be grouped in the following
68
73
categories:
69
74
70
-
- commands that pretty-print the result (e.g. `cider-pprint-eval-last-sexp`)
75
+
- commands that are a variation of some basic commands (e.g. `cider-eval-list-at-point` and `cider-eval-sexp-at-point`)
71
76
- commands that insert the result in the current buffer (e.g. `cider-eval-last-sexp-and-replace`)
72
77
- commands that evaluate an expression in a different context (e.g. with user-supplied bindings)
73
-
- commands that are a variation of some basic commands (e.g. `cider-eval-list-at-point` and `cider-eval-sexp-at-point`)
78
+
- commands that evaluate some particular part of a buffer (e.g. `cider-eval-ns-form`)
74
79
75
80
Most of the exotic evaluation commands don't have "top-level" keybindings
76
81
and should be accessed via CIDER's evaluation commands keymap (`cider-eval-commands-map`), meaning that they share the standard prefix `C-c C-v`. On top of this - several
0 commit comments