I'm using VScode for my python project, but I cannot use the function of go to definition and can not open file in PROBLEMS.
For example: when I click go to definition , it raise a warning like this:
Unable to open 'spider.py': A system error occurred (ENOTDIR: not a directory, stat '/Users/gassy/Documents/python_spider/toutiao/spider.py/Users/gassy/Documents/python_spider/toutiao/spider.py').
Still, when I click a file in the PROBLEMS ,it don't work. enter image description here
It seems like a problem about path as it doubles the right path. Go to definition is work for global variable
System:macOS Mojave
Version: VScode 1.30.2
many thanks for your help