adamvoss / vscode-yaml

YAML language support, including JSON Schema validation, for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=adamvoss.yaml
MIT License
29 stars 5 forks source link

Option to disable validation #21

Closed st-schneider closed 6 years ago

st-schneider commented 6 years ago

I have some Symfony config files that currently do not fit into valid yaml, meaning some properties start with % and no ' or " before that. Is there a way to disable the validation for valid yaml but keep the highlighting.

JPinkney commented 6 years ago

Hi, we have this in our extension (https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml). Turning off/on validation is available through the "yaml.validate" setting!

st-schneider commented 6 years ago

@JPinkney wonderful, I'll use that then.