直接上图 步骤 扩展里搜索安装Pylance; 设置–>搜索 python.autoComplete–>在 setting.json 中添加如下代码 "python.analysis.completeFunctionParens": true