This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-26
Channels
- # announcements (18)
- # aws (17)
- # babashka (19)
- # beginners (141)
- # calva (73)
- # cider (4)
- # clj-kondo (13)
- # cljs-dev (2)
- # clojure (97)
- # clojure-europe (6)
- # clojure-italy (5)
- # clojure-nl (1)
- # clojure-spec (25)
- # clojure-sweden (2)
- # clojure-uk (25)
- # clojured (3)
- # clojurescript (63)
- # core-typed (6)
- # cursive (23)
- # data-science (4)
- # datomic (74)
- # fulcro (19)
- # graalvm (18)
- # graphql (3)
- # hoplon (63)
- # jackdaw (1)
- # juxt (23)
- # london-clojurians (3)
- # meander (7)
- # off-topic (23)
- # om (1)
- # pathom (13)
- # pedestal (2)
- # perun (2)
- # re-frame (38)
- # reagent (3)
- # reitit (24)
- # shadow-cljs (91)
- # spacemacs (14)
- # sql (4)
- # tools-deps (8)
- # vim (3)
Hello @cfleming Is it possible to “Find usages” for keyword namespaces (I want to find all keywords with specific namespace)? If not can we file a feature request? 🙂
this would be great, I spent hours in my life tracking down namespace qualified keywords with aliases that weren’t required
@U0HJNJWJH Keyword renaming already works, and you do it the same way you rename symbols. When you rename it you rename the entire thing, including the qualifier. So you can't rename the qualifier separately. Note that keyword qualifiers are not namespaces.
That's my experience anyway.
Btw cursive does not suggest to add a namespace for a qualified keyword automatically which is a bit annoying too
@UBRMX7MT7 “Keyword renaming already works, and you do it the same way you rename symbols” I aware. But sometimes I need to rename all keywords with same namespace, and this is a little annoying, at least in part of finding all keywords with this namespace...
@U3A7Z18JZ Btw cursive does not suggest to add a namespace for a qualified keyword automatically What do you mean?
Sorry, I misunderstood. When you said
"Rename namespace" along with "Rename keyword"
I thought you meant both features were missing.
@U0HJNJWJH I think what achikin means is that keywords don’t add aliases to the namespace form after copy/paste or on completion like symbols to, which would definitely be nice to have.
And yes, could you file an issue for the find namespace thing as a feature request please? It does sound nice to have.
@U0HJNJWJH I mean when you refer a var with an aliased namespace eg constants/DEFAULT_VALUE
cursive figures out the alias and suggests you to require constants
namespace. But that does not work for qualified keywords.
@cfleming «And yes, could you file an issue for the find namespace thing as a feature request please?» Where can I do this?
There is an issue tracker.
Feature request has been added https://github.com/cursive-ide/cursive/issues/2326
Feature request has been added https://github.com/cursive-ide/cursive/issues/2326