-
Notifications
You must be signed in to change notification settings - Fork 111
cljr add require to ns
Lars Andersen edited this page Jan 28, 2016
·
2 revisions
Adds a (:require )
clause to to the namespace declaration if necessary, then gives you several tabstops to help you write your require statement:
- 1st tabstop wraps the entire
[example :as x]
entry, letting you paste in a complete require. - 2nd tabstop is inside the brackets
example :as x
, letting you write in a require with no alias. - 3rd and 4th tabstop is the
example
andx
, letting you write a require with an alias.
Once you're through the tabstops, the cursor jumps back to where you were. If cljr-auto-clean-ns
is true (the default), the namespace is cleaned up afterwards.