-
|
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 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
@Nova38 - have you tried the Desired State Configuration extension in VS Code? |
Beta Was this translation helpful? Give feedback.
I agree, there's still an open issue for it in this repository. Regardless, the extension was an initiative on my own to see how far I could push it. And yes, I can feel that pain point that it isn't from an official publisher. I do not have it currently in the budget to get it.
Coming to alternatives to not using YAML. Other tooling, like Bicep, will likely take over, even though there's still value in having a YAML authoring extension available in VS Code.