LIU*_*lun 2 json visual-studio-code vscode-settings
我在使用 VSCode 时收到此错误通知:
[tht13.python]: 'configuration.jsonValidation.url' must be
an absolute URL or start with './' to reference
schemas located in the extension.
Run Code Online (Sandbox Code Playgroud)
我发现并更改jsonValidation为:
"jsonValidation": [
{
"fileMatch": ".condarc",
"url": "./schemas/condarc.json"
},
{
"fileMatch": "environment.yml",
"url": "./schemas/conda-environment.json"
},
{
"fileMatch": "meta.yaml",
"url": "./schemas/conda-meta.json"
}
]
Run Code Online (Sandbox Code Playgroud)
in package.json,但它仍然不起作用。
如何弄清楚这个问题?
小智 9
您正在使用扩展“Python for VSCode”(tht13.python)。看起来这个扩展不再维护(最后一次提交于 2018 年 6 月 13 日)
也许你应该切换到另一个扩展。我对 Microsoft https://marketplace.visualstudio.com/items?itemName=ms-python.python的“Python”(ms-python.python)扩展非常满意
| 归档时间: |
|
| 查看次数: |
3021 次 |
| 最近记录: |