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

Make it possible to unset JSON Schema #1088

Open
lindhe opened this issue Feb 6, 2025 · 0 comments
Open

Make it possible to unset JSON Schema #1088

lindhe opened this issue Feb 6, 2025 · 0 comments

Comments

@lindhe
Copy link

lindhe commented Feb 6, 2025

Is your enhancement related to a problem? Please describe.

Because of a bug in SchemaStore, my YAML files named *.es.yaml get incorrectly recognized as fulibWorkflows making the IDE suggestions useless.

Describe the solution you would like

I'm stuck with these names on the files, so I'd want to just disable the JSON schema check.

Describe alternatives you have considered

I think having a null/noop/None option to unset the schema would be useful. Alternatively, we could have a checkbox in the settings to disable the schema validation, but I prefer a null schema because it's easier to change on a file-by-file basis then.

I know of no good alternatives to this. While I would like to see the bug in SchemaStore get fixed, the feature I suggest here would be useful more generally (not just as work-around for that particular bug).

I guess one alternative could be to disable the YAML integration in VSCode, but that's far from ideal… 😕

Additional context

This has already been discussed in #939 but it seems to have been abandoned, so I'm opening this instead.

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

1 participant