il
Introduce let
Place the current form inside a new let
form.
Given this:
(defn handle-request {:status 200 :body (find-body abc)})
With the cursor in front of (find-body abc)
, I do cljr-introduce-let
:
(defn handle-request {:status 200 :body (let [X (find-body abc)] X)})
Now I have two cursors where the X
es are. Just type out the name, and press enter. Now, this is probably not where you wanted the let
to be. Next step is el
Expand let.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4