Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aleclarson
Copy link
Contributor

@aleclarson aleclarson commented Mar 27, 2025

By setting the $schema field of your project.json file to a URL leading to this JSON schema, your IDE may be able to provide auto-completion.

Alternatively, IDE-specific extensions may be able to "inject" this schema automatically, removing the need for an explicit $schema field, but that's for another PR, I suppose.

Note: The c3c command currently warns about the $schema field:

WARNING: Unknown parameter '$schema' in 'default target'

Example usage:

{
  "$schema": "https://raw.githubusercontent.com/c3lang/c3c/refs/heads/master/resources/project_schema.json"
}

Ideally, it would be accessible from a nicer-looking URL, like this:

{
  "$schema": "https://c3-lang.org/resources/v0.5.x/project_schema.json"
}

By setting the `$schema` field of your `project.json` file to a URL leading to this JSON schema, your IDE may be able to provide auto-completion.
@lerno
Copy link
Collaborator

lerno commented Mar 28, 2025

Just a short note here. I'm preparing the 0.7.0 release and try to just do bug fixes. This will be approved for 0.7.1 after 0.7.0 is released.

@lerno lerno added this to the 0.7.1 milestone Mar 28, 2025
@lerno
Copy link
Collaborator

lerno commented Mar 31, 2025

I see that some fields are missing, but let me merge this as is.

@lerno lerno merged commit 63e5aa5 into c3lang:master Mar 31, 2025
42 checks passed
@lerno
Copy link
Collaborator

lerno commented Mar 31, 2025

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants