|
楼主 |
发表于 2022-5-10 00:53:34
|
显示全部楼层
浙江省绍兴市
好像禁用了其中一个pylance就和pycharm显示一样了,不容易
vscode中 //"python.languageServer": "Pylance",这条注释掉
{
"editor.fontSize": 22,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"window.zoomLevel": 0,
// 默认Python语言服务器使用:Pylance
//"python.languageServer": "Pylance",
"python.autoComplete.extraPaths": [
"C:/Python/Python38/python38.zip",
"C:/Python/Python38/DLLs",
"C:/Python/Python38/lib",
"C:/Python/Python38",
"C:/Python/Python38/lib/site-packages",
"C:/Python/Python38/Scripts",
],
"python.analysis.extraPaths": [
"C:/Python/Python38/python38.zip",
"C:/Python/Python38/DLLs",
"C:/Python/Python38/lib",
"C:/Python/Python38",
"C:/Python/Python38/lib/site-packages",
"C:/Python/Python38/Scripts",
],
"python.experiments.enabled": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.diagnosticSeverityOverrides": {},
"workspace.searchLimit": 20,
"kite.enableOptionalCompletionsTriggers": true,
"kite.developerMode": true,
"kite.showWelcomeNotificationOnStartup": false,
"python.experiments.optInto": [
],
}
|
-
|