vscode extension [tht13.python]: 'configuration.jsonValidation.url'。

问题描述 投票:0回答:1

我在使用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但还是不行。

如何解决这个问题?

json visual-studio-code vscode-settings
1个回答
2
投票

你正在使用 "Python for VSCode "扩展 (tht13.python)。看起来这个扩展已经不再维护了 (最后提交于2018年6月13日)

也许你应该换一个扩展。我对微软的 "Python"(ms-python.python)扩展相当满意。https:/marketplace.visualstudio.comitems?itemName=ms-python.python。

© www.soinside.com 2019 - 2024. All rights reserved.