小编LIU*_*lun的帖子

vscode 扩展 [tht13.python]: 'configuration.jsonValidation.url'

我在使用 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,但它仍然不起作用。

如何弄清楚这个问题?

json visual-studio-code vscode-settings

2
推荐指数
1
解决办法
3021
查看次数

标签 统计

json ×1

visual-studio-code ×1

vscode-settings ×1