cursive
cursive copied to clipboard
Intention to replace fully qualified symbol with require/alias
I'm surprised this isn't already present (perhaps I'm missing it somehow) but one of the things I constantly miss is an intention that requires a namespace for a fully qualified symbol.
For example, if the cursor is anywhere in the execute-query symbol:
(com.walmartlabs.lacinia/execute-query schema nil nil)
There should be two intentions:
- Replace with alias, which would add a
[com.walmartlabs.lacinia :as lacinia](to the ns :require stanza) and select thelaciniaso I can fine-tune the name. - Replace with refer, which would add a
[com.walmartlabs.lacinia : refer [execute-query]]
This really is something I would use just about every day!