Fork me on GitHub
#emacs
<
2022-02-17
>
Michael Stokley17:02:42

do folks use emacs to track var usage across projects? if so, how?

Michael Stokley17:02:14

does it work across projects?

ericdallo17:02:48

oh, I see your point now

ericdallo17:02:55

only if it's a mono-repo

ericdallo17:02:01

and you open the mono-repo as a project-root

Drew Verlee05:02:15

@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".

Michael Stokley16:02:40

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).

Michael Stokley17:02:01

It’s not something I would normally expect, especially since the group of consuming projects would be arbitrary.

ericdallo17:02:10

Intellij finds it if you import the root project, just like clojure-lsp will find it as well