Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide json-schema for config.toml #3033

Open
Eazash opened this issue Jan 12, 2025 · 0 comments
Open

Provide json-schema for config.toml #3033

Eazash opened this issue Jan 12, 2025 · 0 comments

Comments

@Eazash
Copy link

Eazash commented Jan 12, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant