Skip to content

use json schema for autocomplete and warnings#432

Merged
tyrasd merged 1 commit intoopenstreetmap:mainfrom
k-yle:json-schema
May 12, 2022
Merged

use json schema for autocomplete and warnings#432
tyrasd merged 1 commit intoopenstreetmap:mainfrom
k-yle:json-schema

Conversation

@k-yle
Copy link
Copy Markdown
Collaborator

@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.

2 participants