Mapping Imported Library to local version of code?
Hey, so we used to have all of our code in a single Git Repo and IntelliJ project. We have an internal shared library which used to just be a part of the project.
But we have now split up our services so that each one works standalone, instead of relying on the shared version to be present in the project it is imported through an artifact registry (so when its imported its already built.)
If I interact with the local version of the shared library (f.ex click a class to find usages), or if I try to go into a class that has been imported from the artifact registry, it will not connect this to my local version of the code but instead decompile the library and show me that.
So my question is if I have the code of the shared library open in the same intellij project as the service which is using the shared library, is it possible to somehow map the imported library to the local version of the code so that I can do things like cmd+shift to find usages?
请先登录再写评论。
Hi. Have you downloaded the library source from the registry?