From 0bda50fdfd60be320445c754564e7e81e0c15c7b Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 25 Aug 2020 13:27:02 +0200 Subject: [PATCH] Add workspace based vscode snippets --- .vscode/json.code-snippets | 88 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 .vscode/json.code-snippets diff --git a/.vscode/json.code-snippets b/.vscode/json.code-snippets new file mode 100644 index 0000000..eef4972 --- /dev/null +++ b/.vscode/json.code-snippets @@ -0,0 +1,88 @@ +{ + "yokutango entry": { + "prefix": "j", + "body": [ + "{", + " \"japanese\": [", + " {", + " \"word\": \"$2\",", + " \"romaji\": \"$3\"", + " }", + " ],", + " \"norwegian\": [", + " {", + " \"word\": \"$1\"", + " }", + " ]", + "},", + "" + ], + "description": "Schema for an entry in the yokutango project" + }, + "yokutango entry 2w": { + "prefix": "j2", + "body": [ + "{", + " \"japanese\": [", + " {", + " \"word\": \"$3\",", + " \"romaji\": \"$4\"", + " }", + " ],", + " \"norwegian\": [", + " {", + " \"word\": \"$1\"", + " },", + " {", + " \"word\": \"$2\"", + " }", + " ]", + "},", + "" + ], + "description": "Schema for a 2w entry in the yokutango project" + }, + "yokutango entry w3": { + "prefix": "j3", + "body": [ + "{", + " \"japanese\": [", + " {", + " \"word\": \"$4\",", + " \"romaji\": \"$5\"", + " }", + " ],", + " \"norwegian\": [", + " {", + " \"word\": \"$1\"", + " },", + " {", + " \"word\": \"$2\"", + " },", + " {", + " \"word\": \"$3\"", + " }", + " ]", + "},", + "" + ], + "description": "Schema for a w3 entry in the yokutango project" + }, + "word yokutango entry": { + "prefix": "w", + "body": [ + "{", + " \"word\": \"$1\"", + "}" + ], + "description": "Schema for an entry in the norwegian section of an yokutango element" + }, + "hints yokutango entry": { + "prefix": "h", + "body": [ + ",", + "\"hints\": [\"$1\"]" + ], + "description": "Schema for a hints entry in the norwegian section of an yokutango element" + }, +} \ No newline at end of file