在VS Code界面,Ctrl+Shift+P,打开命令行;
输入setting,选中首选项的JSON模式设置界面
1.在用户设置中找到下面代码,将其设置为True
"python.autoComplete.addBrackets": true2.如果以上设置不能生效,将下面代码设置为True
"python.jediEnabled": true
在VS Code界面,Ctrl+Shift+P,打开命令行;
输入setting,选中首选项的JSON模式设置界面
1.在用户设置中找到下面代码,将其设置为True
"python.autoComplete.addBrackets": true2.如果以上设置不能生效,将下面代码设置为True
"python.jediEnabled": true