paritytech / zombienet-vscode-extension

An extension for VsCode to help with the Zombienet DSL
Other
7 stars 0 forks source link

Add validation for `.zndsl` files #9

Open wirednkod opened 2 years ago

wirednkod commented 2 years ago

We should add a yml validation for zombienet extension, in order to inform user what is wrong with entries. E,g:

image

Helpful link: https://code.visualstudio.com/docs/languages/json

chevdor commented 2 years ago

See https://json-schema.org/

pepoviola commented 2 years ago

Our yaml/yml files are related to k8s. I think a plugin that parse those should already exists in the marketplace. Maybe we can find one that works and make a note in the repo.

Thanks!

chevdor commented 2 years ago

This would be for the DSL, the sample screenshot just happended to be K8S related :)

pepoviola commented 2 years ago

This would be for the DSL, the sample screenshot just happended to be K8S related :)

Ahh sorry about the mistake. I will merge soon(today/tomorrow) the new grammar parser for the DSL we maybe add to the extension to validate the dsl in vscode.

Thanks!