vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Schema: Add "No Schema" to list of JSON schemas

Open thomassandslyst opened this issue 1 year ago • 2 comments

Is your enhancement related to a problem? Please describe.

Other than editing config files there is no way to disable JSON schema checking against yaml files adhoc if your filename happens to catch one of the schema filters.

Describe the solution you would like

Adding a permanent "No Schema" or "Disabled" or some other wording option to the JSON Schema selection menu to set the file to not check against schemas

Describe alternatives you have considered

The current alternative is to either completely disable this feature or edit your settings file and manually exclude every file that hits one of the JSON filename schemas.

thomassandslyst avatar Dec 04 '23 10:12 thomassandslyst

Yes. This is infuriating at times being unable to deselect a schema. To add to your ticket:

Some documents can't be attributed to a schema, and in this case, the extension simply states No JSON Schema in the bar at the bottom.

This option should be provided at the top of the selection list to disable the highlighting.

designermonkey avatar Jan 22 '24 15:01 designermonkey

In the meantime, I find if I select the ntangle option, it complains about far fewer entries.

ntjess avatar Jun 03 '24 17:06 ntjess