I am using PyCharm 2022.2 (Professional Edition). I have set up a remote Docker Compose interpreter - code executes as expected, I can run all tests from withing the IDE, external libraries toggle contains all skeletons, extended definitions and remote libraries.
The problem is the remote libraries. They're all sourced from local directory called `lib` that sits in the project's root folder, and I'm mapping them to the interpreter via docker compose volumes. As I wrote above, they show correctly in the libraries and I can run any code that uses them without errors.
When I navigate from another service to one of the library files with Ctrl+click, I would expect to go directly to the local version of that file. Sadly, PyCharm throws me to the external definition and so when I want to change one of the library files, to get an immediate feedback in my hot-reloaded service, I have to first find the file within my project tree.
Because of how frustrating this is, I am convinced that there is a solution that will allow me map the external libraries to their local versions and tell PyCharm to Ctrl+click navigate to those. Can someone help?