Skip to content

Commit 928f251

Browse files
committed
[Docs] Document the cider-format-edn-* commands
1 parent 85016ef commit 928f251

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/modules/ROOT/pages/usage/misc_features.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,12 @@ You can supply additional configuration to `cljfmt` via the configuration variab
334334
NOTE: CIDER doesn't shell out to `cljfmt` - it interacts with it via nREPL
335335
(there's `format` middleware in `cider-nrepl`), which is faster that
336336
shelling out.
337+
338+
== Formatting EDN
339+
340+
Similarly to the `cljfmt` integration, CIDER also provides a convenient interface
341+
to format EDN using `clojure.tools.reader.edn`. The following commands are provided:
342+
343+
* `cider-format-edn-defun`
344+
* `cider-format-edn-region`
345+
* `cider-format-edn-buffer`

0 commit comments

Comments
 (0)