Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable warning/error in problem section? #923

Open
avraam-inside opened this issue Apr 22, 2023 · 2 comments
Open

How to disable warning/error in problem section? #923

avraam-inside opened this issue Apr 22, 2023 · 2 comments

Comments

@avraam-inside
Copy link

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 "

image

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.

@gremo
Copy link

gremo commented Jun 17, 2023

I’d like to know the same but afraid this is not possible atm…

@gorkem
Copy link
Collaborator

gorkem commented Jun 18, 2023

Looks like this is related to eemeli/yaml#413. We have already shipped with the fixed version of the parser. What is the vscode-yaml version that you encounter this issue with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants