Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I got this error notification while using VSCode:

[tht13.python]: 'configuration.jsonValidation.url' must be
                an absolute URL or start with './' to reference 
                schemas located in the extension.

I have found and changed jsonValidation to:

"jsonValidation": [
    {
        "fileMatch": ".condarc",
        "url": "./schemas/condarc.json"
    },
    {
        "fileMatch": "environment.yml",
        "url": "./schemas/conda-environment.json"
    },
    {
        "fileMatch": "meta.yaml",
        "url": "./schemas/conda-meta.json"
    }
]

in package.json, but it still doesn't work.

How to figure out this issue?

like image 852
LIU Ruilun Avatar asked Sep 06 '25 05:09

LIU Ruilun


1 Answers

You are using the extension "Python for VSCode" (tht13.python). It looks like this extension is not maintained anymore (last commit on Jun 13, 2018)

Maybe you should switch to another extension. I'm quite happy with the "Python" (ms-python.python) extension from Microsoft https://marketplace.visualstudio.com/items?itemName=ms-python.python

like image 68
Axx Avatar answered Sep 07 '25 17:09

Axx