VS Code Settings - Spicery/Nutmeg GitHub Wiki

Add the following into your settings.json file. This will enable VS Code to check any file with extension '*.codetree.json' matches the schema in the top level of the workspace. For this to work you will need to be using VS Code workspaces.

    "json.schemas": [
        {
            "fileMatch": [ "/*.codetree.json"],
            "url": "./codetree.schema.json"
        }
    ]

How to edit the settings.json file

  • Open up the settings cogwheel
  • Search for 'schema'
  • Select 'JSON: Schemas'