You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard setup at my workplace is to junction our development directory. So I work in C:\whatever but the physical location of all my files is actually S:\whatever. In VS Code, when I hit F12 on a symbol, ty opens the source code in the S:\whatever location.
I briefly mentioned it in issue 1967, but it turned out not to be the source of that bug.
Does this apply to project files or only to third-party files (pandas, etc)? We're very careful not to canonicalize paths and do so only in very few instances. But I'd have to take a closer look at what's happening.
What steps should I use to reproduce this? E.g. is it something like:
Activity
MichaReiser commentedon Jan 16, 2026
MichaReiser commentedon Jan 16, 2026
Does this apply to project files or only to third-party files (pandas, etc)? We're very careful not to canonicalize paths and do so only in very few instances. But I'd have to take a closer look at what's happening.
What steps should I use to reproduce this? E.g. is it something like:
lib.py:
main.py:
Boon-in-Oz commentedon Jan 27, 2026
Ah, so it doesn't happen in a nice clean example like that. The key here seems to be that we also use a .pth file.
In my workspace, my Python interpreter
has an associated .pth file in its Lib/site-packages dir, listing packages by relative path, eg
(They are in version subdirectories because we use Rez most of the time now. The .pth file is hopefully on its way out but we're not there yet.)
If lib.py and main.py are in the package_one/1.0/python/package_one directory, and main.py says
then clicking on
Aorliband hitting F12 would take me out of my project files to lib.py in the physical location.