1.打開設置界面
2)使用快捷鍵組合【Ctrl+Shift+p】
、
輸入setting,選中首選項的user setting模式設置界面
在打開的User Settings文件界面,搜索:python.autoComplete.addBrackets,在Automatically。。。前面打勾
再打開
{
"python.jediEnabled": true,
"python.autoComplete.addBrackets": true,
}
然后重啟vs code工具,就有代碼補全功能了