当前位置:   article > 正文

Pylance has crashed. Would you like to try using a Node.js executable to run the language server?

pylance has crashed. would you like to try using a node.js executable to run

vscode编程python代码时,跳转到函数定义的功能(F12或者control+左键)没反应,并同时右下角提示:

Pylance has crashed. Would you like to try using a Node.js executable to run the language server?
  • 1

主要是Pylance 插件的问题,

  1. 打开 settings.json
    • F1
    • 输入 open settings
    • 选择 Open User Settings (JSON)
  2. 修改languageServer
    • 将原始python.languageServer":"Pylance " 改为 python.languageServer":"Jedi"
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/寸_铁/article/detail/882498
推荐阅读
相关标签
  

闽ICP备14008679号