-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
dynamic schema not updating #79363
Comments
(Experimental duplicate detection) |
This comment describes how you can register a schema with dynamic content: |
@aeschli Thanks for the update |
@aeschli can you help with clearing schema cache when dynamic schema change? |
The |
@aeschli onDidChange event do not clear the schema, i have tried this approach. The Reason why JSON language server not clearing the schema is the following code This is in JSON language server client code here , which check if the content change has schema |
@ramank775 Good catch! |
@aeschli Thanks. 👍 |
I am looking for a plugin API where a custom plugin can update contributes specially jsonValidation schema programmatically. Currently a plugin can add a schema in package.json file.
I am developing a plugin where user able to create json schema definition within the workspace or reference any existing schema as definition and can perform validation against the schema generated by the plugin.
Note: I have explore existing json language server, but it only has support for file based or remote schema.
The text was updated successfully, but these errors were encountered: