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] support setting schema associations at runtime

See original GitHub issue

Related PR: https://github.com/microsoft/vscode/pull/73424 Related FR: https://github.com/microsoft/vscode/issues/69868

Feature Request: Configure jsonValidation contribution point dynamically. Use Case: Twin json files like myFile.json and myFile.js, which file name is the same as another file under the same directory, but file extension name is normal .json. So, glob matching or content detection does not work well, dynamic configuration is required.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
aeschlicommented, Aug 31, 2021

@dsherret What you want can be done with a programmatic schema. See https://github.com/microsoft/vscode/issues/127812

0reactions
dsherretcommented, Aug 31, 2021

@aeschli oh great! That looks like it will work. Thanks so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting diagnostics json scheme in runtime - Stack Overflow
I'm using angular and making an http request, and when I get the schema, I do the same code like the examples and...
Read more >
A Media Type for Describing JSON Documents - JSON Schema
JSON Schema defines the media type "application/schema+json", a JSON-based format for describing the structure of JSON data. JSON Schema asserts what a JSON...
Read more >
JSON Schemas are available for the following 611 files
In supported JSON editors like Visual Studio and Visual Studio Code, schema files can offer auto-completion and validation to make sure your JSON...
Read more >
DFHJS2LS: JSON schema to high-level language ... - IBM
Indicates how many Additional Properties are supported for a JSON object that supports them. See ADDITIONAL-PROPERTIES-DEFAULT. The generated copybooks will ...
Read more >
Specifying a schema | BigQuery - Google Cloud
If you prefer, you can specify the schema using a JSON schema file instead of using an inline schema definition. A JSON schema...
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