coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.68k stars 1.35k forks source link

RFC: Provide schema for Anchor.toml #1555

Open qpwo opened 2 years ago

qpwo commented 2 years ago

Right now I don't think think there's any way to tell what settings are available, unless they're in the anchor.toml already

See e.g. https://github.com/brunoborges/toml-schema

ultraspicy commented 1 year ago

@armaniferrante is it still valid?

I don't think tomo-schema is still being actively maintained. Shall we close this issue

aroraprince commented 1 year ago

This looks like a good issue for me to start with.

We can have a default anchor.toml file which has all the optional settings in the file which are initially commented out. The required settings can remain un-commented.

This will help any developer to understand all the available settings, based on the commented lines.