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
@@ -220,6 +222,32 @@ This can also be done automatically (as part of indentation) by
220
222
turning on `clojure-align-forms-automatically`. This way it will
221
223
happen whenever you select some code and hit `TAB`.
222
224
225
+
## Refactoring support
226
+
227
+
The available refactorings were originally created and maintained by the clj-refactor.el team. The ones implemented in Elisp only are gradually migrated to Clojure mode.
228
+
229
+
### Threading macros related features
230
+
231
+
* Thread an other expression.
232
+
233
+
Thread another form into the surrounding thread. Both `->>` and `->` variants are supported. See demonstration on the [clj-refactor.el Wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-thread).
234
+
235
+
* Unwind a threaded expression.
236
+
237
+
Supports both `->>` and `->`. See demonstration on the [clj-refactor.el Wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-unwind-thread).
238
+
239
+
* Wrap in thread first (`->`) and fully thread.
240
+
241
+
Introduce the thread first macro and rewrite the entire form. With a prefix argument do not thread the last form. See demonstration on the [clj-refactor.el Wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-thread-first-all).
242
+
243
+
* Wrap in thread last (`->>`) and fully thread.
244
+
245
+
Introduce the thread last macro and rewrite the entire form. With a prefix argument do not thread the last form. See demonstration on the [clj-refactor.el Wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-thread-last-all).
246
+
247
+
* Fully unwind a threaded expression.
248
+
249
+
Unwind and remove the threading macro. See demonstration on the [clj-refactor.el Wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-unwind-all).
0 commit comments