vscode-yaml
vscode-yaml copied to clipboard
How to disable warning/error in problem section?
Hi!
In the problems section, I get an incomprehensible error:
"code": "KEY_OVER_1024_CHARS",
"message": "The : indicator must be at most 1024 chars after the start of an implicit block mapping key at "
The problem is that I just commented out a piece of code, and the fact that now the file is colored red, screams with an error, etc. - very much prevents me from focusing on work.
In extensions like pylint/etc, you can disable specific PEPs and it works fine. Unfortunately, I don't understand how to turn off specific YAML errors.
How do I turn off this warning/error? Thanks.
I’d like to know the same but afraid this is not possible atm…
Looks like this is related to https://github.com/eemeli/yaml/issues/413. We have already shipped with the fixed version of the parser. What is the vscode-yaml version that you encounter this issue with?