dub: JSON, SDL, YAML, TOML, what color should we paint it ?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Mar 3 23:03:59 UTC 2023
On 04/03/2023 11:56 AM, Bradley Chatha wrote:
> On Friday, 3 March 2023 at 22:12:46 UTC, 0xEAB wrote:
>> Your IDE is probably also better at auto completing DUB recipe
>> property names than general file syntax.
>
> It'd be better if we had a JSON schema file for dub.json as well. If we
> were to get it into https://www.schemastore.org/json/ then VSCode at the
> very least would be able to make use of it automatically. Slightly less
> painful than having to tab between your editor and the dub.json
> documentation.
We do have one.
I don't think it is maintained on dub's end, but one does exist.
https://github.com/intellij-dlanguage/intellij-dlanguage/blob/develop/dub/src/main/resources/jsonSchema/dub.json-schema.json
More information about the Digitalmars-d
mailing list