Visual Studio Code python代码无法进行变量和函数跳转
今天早上打开VC code发现竟然无法进行跳转,同时报下面这个错误
The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted
于是网上去查了原因,就是这个tools server引起的。
解决方案是更改server:
左下角设置->settings->extensions->python->language server->改成Microsoft
也可以改为pylance,之后就能够使用变量和函数跳转了。