Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 568 Bytes

20210503_vscode_io-package_schema.md

File metadata and controls

13 lines (11 loc) · 568 Bytes

Enable JSON schema support for io-package.json in VSCode

Modern editors like VSCode and WebStorm have JSON Schema support when editing common .json files. This provides you with auto-completion and warns you of errors in your files. To make VSCode enable this feature for 3rd-party files like io-package.json, a setting needs to be enabled in the project settings. To do so, edit .vscode/settings.json and add the following:

	"json.schemas": [
		{
			"fileMatch": ["io-package.json"],
			"url": "https://json.schemastore.org/io-package"
		}
	]