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
[json] External schemas referenced from schema not updated #45207
Comments
You probably don't need to restart, but making a change in |
@aeschli: Forgot to mention that changing |
Any update on this topic? |
@Logerfo Hello from the future. They added an option called "JSON: Clear schema cache" which does the trick now. The best part is that this is just one of many threads on this subject, none of which mentions this "screw it, just reset it yourselves" fix. |
Still doesn't work for me :( |
Same |
Still an issue, I tried the JSON: Clear schema cache to no avail |
Issue Type
Bug
Description
Setup
color-schema.json
schema.json
test.json
Test 1: Intellisense notices changes in
schema.json
Rename the property
color
tocolorx
inschema.json
-> (Desired) error intest.json
:Missing property "colorx".
✔️ That work's!
Test 2: Intellisense does not notice changes in
color-schema.json
Change
Red
toYellow
incolor-schema.json
-> no errors!Restarting VSCode finally gives the desired error in
test.json
:Value is not accepted. Valid values: "Yellow".
❌ That doesn't work! (i. e. at least without restarting VSCode after each schema dependency change)
VS Code Info
VS Code version: Code 1.20.1 (f88bbf9, 2018-02-13T15:31:21.019Z)
OS version: Linux x64 4.13.0-36-generic
System Info
Extensions (6)
The text was updated successfully, but these errors were encountered: