Skip to content

Enable JSON schema for appsettings.json #4279

@JamesNK

Description

@JamesNK

appsettings.json is the built-in file name for providing configuration in .NET apps. I'm currently improving the schema for appsettings.json on schema store.

Visual Studio 2019 automatically selects a schema from schema store for appsettings.json (and appsettings.{configuration}.json) files:

image

VS code should also automatically use it as the schema for those files.

I believe an extension can specify the schema for a file using this API:

https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions