使用VScode打开代码时,无法跳转函数,不提示报错。
安装python时显示, 此扩展在此工作区中被禁用,因为其被定义为在远程扩展主机中运行。
解决方法:
Ctrl+Shift+P :键入trust ,工作区:管理工作区信任

在受信任文件夹中添加你的工作目录


这样就可以了。
在服务器中重装python就可以了。
如果还不行,就重启服务器 和VScode试试。
使用VScode打开代码时,无法跳转函数,不提示报错。
安装python时显示, 此扩展在此工作区中被禁用,因为其被定义为在远程扩展主机中运行。
解决方法:
Ctrl+Shift+P :键入trust ,工作区:管理工作区信任
在受信任文件夹中添加你的工作目录
这样就可以了。
在服务器中重装python就可以了。
如果还不行,就重启服务器 和VScode试试。