Skip to content

Provide json-schema for config.toml #3033

@Eazash

Description

@Eazash

Is your feature request related to a problem? Please describe.

The supabase config.toml configuration file does not have completion, hover text, links and validation from within VSCode

Describe the solution you'd like

Providing a json-schema for the config.toml file would allow the Even Better Toml extension to provide all of the above features. The schema could be hosted on https://www.schemastore.org/json/ or auto-generated by the CLI into a local directory (eg. for custom validation on config properties)

Describe alternatives you've considered

Another alternative would be to maintain a supabase extension, using something like volarjs. In my opinion, that adds significant overhead plus entails significant development cost

Additional context

The extension uses taplo under the hood, which provides a guide into developing and publishing schemas

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions