-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add schema for rust-project.json
#2628
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not enough info in schema to do detailed review. Waiting for documentation links provided.
src/schemas/json/rust-project.json
Outdated
"properties": { | ||
"display_name": { | ||
"type": "string", | ||
"description": "Crate name used for display purposes, without affecting semantics." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional fix (multiple issues): add link to official documentation with the following format: "{{your_description}}\n{{link_here}}"
.
Note: without it I can't quickly check and suggest fixes for your schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only documentation for this file is this one, which unfortunately doesn't have a lot of information about each property...
@EmilySeville7cfg This PR is still a draft (and this is why I haven't added the relevant links) because I'm waiting to get a thumbs up from the |
No problem. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- No required fixes available, approved.
- Thanks for a contribution! ❤️
@MariaSolOs |
for more information, see https://pre-commit.ci
Thanks |
Add VS Code schema validation for `rust-project.json` Now that SchemaStore/schemastore#2628 has been merged, adding the `jsonValidation` contribution to the VS Code extension for better editor support when modifying `rust-project.json` files. Related issue: #13714
Adding the schema for
rust-project.json
, which is documented here.Note that I also added some extra fields that are not mentioned in the public link above but that are part of the implementation.