cursive icon indicating copy to clipboard operation
cursive copied to clipboard

"Require" quick fix for keywords namespaced with an alias

Open spieden opened this issue 9 years ago • 2 comments

Currently if I type a namespace aliased symbol like strs/join, Cursive's inspection highlights it and offers a quick fix to require clojure.string for me. However if I type ::my-specs/thing I get no such help and am stuck manually writing a require.

Given that ::my-specs/thing is not syntactically valid ("Invalid token") without a my-specs namespace alias, it seems like it should be akin to the symbol case.

spieden avatar Oct 05 '16 17:10 spieden

Similarly, when using a namespace alias only for keywords, it's shown gray/unused in the require form.

spieden avatar May 02 '18 19:05 spieden

I use specs extensively and this is a very frustrating omission.

metametadata avatar Jul 19 '24 09:07 metametadata