Skip to content

Can we add a json schema to complete pyproject.toml's [tool.black]? #4160

@Freed-Wu

Description

@Freed-Wu

Describe the solution you'd like

json schema can let editor which support LSP to complete some configuration file. Such as:

Screenshot from 2024-01-20 23-24-42

There are many tools have supported json schema: https://json.schemastore.org/pyproject.json

Screenshot from 2024-01-20 23-36-38

Can tool.black be supported?

Describe alternatives you've considered

Refer cmhughes/latexindent.pl#206:

The steps are following:

  1. Create a json schema
  2. Add its URL to schemastore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions