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

use json schema for autocomplete and warnings #432

Merged
merged 1 commit into from May 12, 2022

Conversation

k-yle
Copy link
Contributor

@k-yle k-yle commented Apr 4, 2022

It's currently quite difficult for beginners to make changes to this repository. This PR makes it a bit easier for those who use VS Code, by enabling auto-complete and warnings. Validation comes from the json schema that are defined in @ideditor/schema-builder.

image

I don't think there's a way to achieve this that works across all editors, besides from adding $schema to the top of every single file.

@tyrasd tyrasd merged commit 017ccc7 into openstreetmap:main May 12, 2022
@k-yle k-yle deleted the json-schema branch May 12, 2022 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants