In PyCharm 2019.3 and 2020.1 EAP, the configured libraries for my remote interpreter seem to always have higher priority when it comes to code indexing. If I have
- Local project source: "foo/bar.py
- Remote interpreter's remote libraries: "my_library_path/foo/bar.py" (an older version of the file that I'm writing updates to in the local project source)
then PyCharm will "prioritize" the remote library version of the file. This means click-to-definition and function signature validation will reference "/Users/<user>/Library/Caches/PyCharm2019.3/remote_sources/470894275/-399348569/foo/bar.py".
It seems like it should be pretty obvious that project files should have priority, or at the very least the path priorities should be configurable. 2019.2 does not have this issue. Is there a workaround or some configuration for this somewhere?
(Thankfully, with JB Toolbox it's pretty easy to switch between versions!)