I have my Python project stored on a network share which is mapped into my Windows 10 computer as the M-drive. I have a python script opened in VS Code (v. 1.85.2):
def my_method():
pass
my_method()
When I select Go to definition on my_method()
VS Code opens a new tab with the same file, scroll to and highlights the correct line but the path of the new tab is the UNC
path.
I would expect VS Code to scroll to and highlight the line def my_method():
and I have done this many times in the past.
Is this a bug or have they introduced a setting somewhere (which I have to enable) which allows VS Code to check if the UNC path matches the UNC path of the already opened file and thus determine that it is not necessary to open a new tab?