Adding more snippets

This commit is contained in:
DaanV2
2022-02-01 18:06:14 +01:00
parent 0b963f3e0b
commit b781121dfa
15 changed files with 33 additions and 20 deletions

View File

@@ -4,5 +4,6 @@
"examples": ["namespace:block"],
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
"title": "Block Identifier",
"type": "string"
"type": "string",
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
}

View File

@@ -3,6 +3,7 @@
"description": "A minecraft block reference",
"examples": ["namespace:block", { "name": "namespace:block" }],
"title": "Block Reference",
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }],
"oneOf": [
{ "type": "string", "$ref": "./identifier.json" },
{