-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change makes minor fixes and improvements to the decomposed schemas. Changes include: 1. Fixing the data-type conditionals for configuration parameters so that the `min*`/`max*` keywords only apply to the correct data types. 1. Adding type validation for default and allowed values based on the defined data type for the parameter. 1. Adding VS Code keywords to improve the DevX when authoring configurations and resource manifests: - The `markdownDescription` ensures that descriptive text can render as Markdown. Where possible, these descriptions also include a link to the relevant online documentation to help authors get more information as needed. - The `markdownEnumDescriptions` keyword enables adding per-enum-value documentation that shows on hover and with auto-complete. - The `patternErrorMessage` shows a useful error message instead of just informing the user that a string did not match a regular expression. - The `defaultSnippets` enables simpler auto-complete for values, allowing an author to pick from a list of snippets that work like normal VS Code snippets. 1. Ensuring that the processed schemas only include the VS Code keywords for the bundled VS Code schemas. 1. Adding schema associations so `*.dsc.resource.json` files are associated with the bundled VS Code schema for resource manifests and `.dsc[.config].yaml` files are associated with the bundled VS Code schema for configuration documents. Together, these changes make the schemas more accurate and improve the authoring DevX for DSCv3.
- Loading branch information
1 parent
5981176
commit e3a001c
Showing
46 changed files
with
2,683 additions
and
860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.