解决在 VSCode 插件参数配置过程中出现的如下警告:
unable to write into user setings. Please open the user settings to correct errots/warnings in it and try again.
这里一般是 settings.json 文件中出现的格式或语法错误的问题。修改文件后,便可解决。
打开VS Code的配置文件settings.json
- 在VS Code环境中执行Ctrl+Shift+P; 2.选择 Open User Settings(JSON)。
举例如下:
{
"python.defaultInterpreterPath": "C:\\Users\\MindMotion\\AppData\\Local\\Programs\\Python\\Python310\\python.exe",
"security.workspace.trust.untrustedFiles": "open",
"files.autoSave": "afterDelay",
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,