You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use intellisense and validation with our schema in VSCode. However, after a few nested json children, intellisense and validation slows down leading to high CPU usage and then no suggestion in VSCode editor when schema is added in settings for json files.
You have a recursive schema that goes across resources. The current code can not handle that and I don't think we will look at that any time soon.
If that's an option for you, I recommend you to move all in one file.
Monaco Editor Playground Link
https://t.ly/RFBVh
Reproduction Steps
We are trying to use intellisense and validation with our schema in VSCode. However, after a few nested json children, intellisense and validation slows down leading to high CPU usage and then no suggestion in VSCode editor when schema is added in settings for json files.
Like:
"json.schemas": [ { "fileMatch": [ "*.json" ], "url": "file:/../schema.json" } ]
Also, monca editor is giving the error shown as below, added for more context
Add this schema and try to create a nested json
schema.json
Actual (Problematic) Behavior
Intellisense is slowing down and not recommending anymore
Expected Behavior
It should behave always the same, as fast as the initial code sensing and validation
Additional Context
We are using the intellisense and json validation for our users to create a correct json file
The text was updated successfully, but these errors were encountered: