Replies: 1 comment
-
|
@Nova38 - have you tried the Desired State Configuration extension in VS Code? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is their current a way to get tab completions in vscode for the properties of the individual resources?
In particular I am using the red hat yaml extension with the enchanted jaon schema but it doesn't provide autocomplete or validation on the resources properties. Even though the dsc resources are defined as json schemas that should be usable to provide the yaml lsp the ability to allow for autocomplete/doc hovers/validation.
I wanted to check before creating an issue if this is already possible and I have just not found the doc. The lack of this feature is one of the main drawbacks/roadblocks to me using dsc instead of other tools such as ansible that do provide that.
Is their a way to configure it? If it is currently not possible (like as a limitation due to the way vscode handles jsonschemas) would it be possible to add a command to the dsc binary to generate a compiled json schema based on the enchanted authoring json schema combined with all of the
Json schemas from the resources installed on a given machine?
Beta Was this translation helpful? Give feedback.
All reactions