This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-17
Channels
- # announcements (3)
- # babashka (41)
- # beginners (118)
- # calva (4)
- # cider (22)
- # clj-kondo (4)
- # clj-on-windows (1)
- # clj-together (1)
- # clojure (164)
- # clojure-europe (46)
- # clojure-filipino (1)
- # clojure-indonesia (1)
- # clojure-my (1)
- # clojure-nl (3)
- # clojure-sg (1)
- # clojure-spec (13)
- # clojure-uk (16)
- # clojurescript (18)
- # cloverage (3)
- # conjure (5)
- # core-async (8)
- # cursive (21)
- # datomic (4)
- # deps-new (15)
- # emacs (12)
- # expound (4)
- # fulcro (45)
- # graalvm (32)
- # jobs (1)
- # malli (5)
- # nextjournal (63)
- # off-topic (27)
- # other-languages (3)
- # pathom (27)
- # proletarian (1)
- # rdf (24)
- # re-frame (10)
- # reagent (9)
- # releases (2)
- # shadow-cljs (72)
- # spacemacs (4)
- # timbre (4)
- # tools-deps (29)
- # xtdb (4)
do folks use emacs to track var usage across projects? if so, how?
Yes, using #lsp is one of the ways https://clojure-lsp.io/features/#find-all-references-of-a-function-var-keyword-or-namespace-alias
does it work across projects?
@U7EFFJG73 vars in different projects aren't the same var according to the compilers... right? or do i misunderstand the question. I think the common way this is done is through a database? Or if you important a project into another (like a library), wouldn't it be "the same project".
According to the compilers? No, I suppose not. I am asking about importing one project into another. Can Emacs track the usage of one var, from a library, across downstream usages in other projects. This is something intellij can do (unless I’m mistaken).
It’s not something I would normally expect, especially since the group of consuming projects would be arbitrary.
Intellij finds it if you import the root project, just like clojure-lsp will find it as well
oh, nice!