我一直在用Pylance
来做汽车建议和完成.
最近,我添加了Pylint
来帮助我编写代码,但在我安装Pylint
的那一刻,我的Pylance
就停止了工作(它没有给出任何自动建议,变量、导入等的不同 colored颜色 编码也关闭了).
我试图探索我的设置以找出问题所在,但我无法做到.以下是我的VS代码settings.json
:
{
"terminal.integrated.defaultProfile.windows": "Git Bash",
"[python]": {
"editor.formatOnType": true
},
"workbench.iconTheme": "material-icon-theme",
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"git.confirmSync": false,
"gitlens.gitCommands.skipConfirmations": [
"fetch:command",
"stash-push:command",
"switch:command",
"remote-add:command"
],
"vscode-office.previewCodeHighlight.style": "github",
"workbench.statusBar.visible": false,
"editor.unicodeHighlight.invisibleCharacters": false,
"editor.unicodeHighlight.ambiguousCharacters": false,
"workbench.colorTheme": "Default Dark+",
"python.analysis.autoImportCompletions": true,
"pylint.importStrategy": "fromEnvironment",
"python.autoComplete.extraPaths": [
],
"python.analysis.extraPaths": [],
"editor.fontLigatures": false
}