Skip to content

Commit

Permalink
This properly refreshes the bundled JSON schema file in VFS before it…
Browse files Browse the repository at this point in the history
… is used.
  • Loading branch information
SCWells72 authored and angelozerr committed Dec 12, 2024
1 parent a29f4eb commit fb555b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public final VirtualFile getSchemaFile() {
jsonSchemaFile = jsonSchemaFileUrl != null ? VirtualFileManager.getInstance().findFileByUrl(jsonSchemaFileUrl) : null;
// Make sure that the IDE is using the absolute latest version of the JSON schema
if (jsonSchemaFile != null) {
jsonSchemaFile.refresh(true, false);
jsonSchemaFile.refresh(true, false, () -> jsonSchemaFile.refresh(false, false));
}
}
return jsonSchemaFile;
Expand Down

0 comments on commit fb555b2

Please sign in to comment.