【python】Vscode 添加类型提示(Inlay Hints)
类型补全
在 ./vscode/setttings.json
中设置python 类型提示
"python.languageServer": "Default",
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.callArgumentNames": true,