我没有麻烦运行和调试我的VSCode Python扩展(项目ms-python.python),但由于蟒蛇子项目根目录不是整个项目的目录,从我的消息来源全部进口用红色下划线,并在列problems,因此Go to definition,有些类似功能无法正常工作.如何告诉IDE我的项目的起点在哪里:
Whole Project path:
docs
server
entities
user.py
customer.py
env
viewer
db
Run Code Online (Sandbox Code Playgroud)
该server目录是从以下位置启动导入路径的位置:
from entities.user import User
Run Code Online (Sandbox Code Playgroud)