Skip to content
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

Allow extending JSON Schema to JSON file name mapping #2813

Closed
mohsen1 opened this issue Feb 9, 2016 · 2 comments
Closed

Allow extending JSON Schema to JSON file name mapping #2813

mohsen1 opened this issue Feb 9, 2016 · 2 comments
Assignees

Comments

@mohsen1
Copy link

mohsen1 commented Feb 9, 2016

Files like package.json or bower.json enjoy the autocomplete despite lack of $schema reference in the JSON structure.

I assume it's because those file names are mapped to specific JSON Schemas. Allow this mapping to get extended by user.

@mohsen1
Copy link
Author

mohsen1 commented Feb 9, 2016

It's already there: "json.schemas" array in the settings. I couldn't get it working with inline schemas though, any tips?

@aeschli
Copy link
Contributor

aeschli commented Feb 9, 2016

Users can make these associations in the settings.
Extensions can do it with the jsonValidation contribution point

@mohsen1 Not sure what you try to do with inline schemas. Can you file a separate issue with an example?

@aeschli aeschli closed this as completed Feb 9, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants