Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DX][Config] Generate JSON schema for Yaml configuration #59603

Copy link
Copy link
Open
@GromNaN

Description

@GromNaN
Issue body actions

Description

IDE like PHPStorm have a great support for Yaml validation against a JSON schema.

Code completion
For example, you can use code completion for YAML documents that have the JSON schema, or you can complete anchor aliases.

The idea is to generate a schema.json from all the allowed configuration.

Example

I created a JSON schema manually for Yaml files and this was a pleasant experience to have autocompletion and errors directly highlighted in PHPStorm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfigDXDX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.