question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[json] download schema from disk instead

See original GitHub issue

I work with vscode with no internet connection in my organization.

The visual studio code show me error in Problems tab:

Problems loading reference ‘https://json.schemastore.org/tsconfig’. Unable to load schema from ‘https://json.schemastore.org/tsconfig’: getaddrinfo EAI_AGAIN json.schemastore.org.

enter image description here

Is it possible to set vscode to load this schema from the local disk?

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
choryleecommented, Aug 19, 2022
  1. Type user settings.
  2. Select Preferences:Open User Settings from drop down
  3. Put below code and modify accordingly, the last word in this setting item should “enabled”, instead of “enable” “json.schemaDownload.enabled”: false
3reactions
AlexTriadacommented, Aug 9, 2022

You can disable the schema downloading using "json.schemaDownload.enable": false.

We don’t have a mechanism to load it from disk instead, sorry.

it doesn’t work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding JSON Schema
JSON Schema is a powerful tool for validating the structure of JSON data. However, learning to use it by reading its.
Read more >
Is there a way to download just the schema.json file?
Is there a way to download just the schema.json file? ... I am using the grab command to get the latest data dump...
Read more >
How to Validate Your JSON Using JSON Schema
The schema can be defined in a JSON file, and be loaded into your code or it can be directly created in the...
Read more >
JSON Schema Serializer and Deserializer
Instead of having the schema derived from the Java object, you can pass a schema directly to the producer using annotations on the...
Read more >
Loading JSON data from Cloud Storage | BigQuery
However, schema autodetection doesn't detect this case, and treats the value as a numeric or string type instead. Examples of Unix epoch timestamp...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found