I'm having some issues with the "Go To Definition" feature in Visual Studio Code and Python code. To note, I haven't tested with other coding languages. The feature works well for functions and variables within the same open file but it does not work for files being imported such as custom classes or custom .py files that I import. This is true even if the file/class in question is open in another tab.
Is there a reason for this? If so, can it be fixed?