我在使用VSCode时收到了这个错误通知。
[tht13.python]: 'configuration.jsonValidation.url' must be
an absolute URL or start with './' to reference
schemas located in the extension.
我发现并修改了 jsonValidation
到。
"jsonValidation": [
{
"fileMatch": ".condarc",
"url": "./schemas/condarc.json"
},
{
"fileMatch": "environment.yml",
"url": "./schemas/conda-environment.json"
},
{
"fileMatch": "meta.yaml",
"url": "./schemas/conda-meta.json"
}
]
在 package.json
但还是不行。
如何解决这个问题?
你正在使用 "Python for VSCode "扩展 (tht13.python)。看起来这个扩展已经不再维护了 (最后提交于2018年6月13日)
也许你应该换一个扩展。我对微软的 "Python"(ms-python.python)扩展相当满意。https:/marketplace.visualstudio.comitems?itemName=ms-python.python。