ソースを参照

remove `.vscode` from `.gitignore`

Stephan Fuchs 4 ヶ月 前
コミット
e52c484d9a
3 ファイル変更79 行追加0 行削除
  1. 2 0
      .gitignore
  2. 18 0
      .vscode/snippets.code-snippets
  3. 59 0
      .vscode/tasks.json

+ 2 - 0
.gitignore

@@ -49,3 +49,5 @@ glife.html
 
 __pycache__/
 mods/modable_glife.html
+
+!.vscode/

+ 18 - 0
.vscode/snippets.code-snippets

@@ -0,0 +1,18 @@
+{
+	// Place your glife workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and 
+	// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope 
+	// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is 
+	// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: 
+	// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. 
+	// Placeholders with the same ids are connected.
+	// Example:
+	"LocationCreate": {
+		"prefix": "GirlLife",
+		"body": [
+				":: NewLocationName[public outdoors]",
+				"/*",
+				"*/"
+			],
+		"description": "Log output to console"
+	}
+}

+ 59 - 0
.vscode/tasks.json

@@ -0,0 +1,59 @@
+{
+	// See https://go.microsoft.com/fwlink/?LinkId=733558
+	// for the documentation about the tasks.json format
+	"version": "2.0.0",
+	"tasks": [
+		{
+			"label": "MakeHTML",
+			"type": "shell",
+			"command": "./sugarcube_compile.bat",
+			"presentation": {
+				"echo": true,
+				"reveal": "always",
+				"focus": false,
+				"panel": "dedicated",
+				"showReuseMessage": false,
+				"clear": true
+			},
+			"group": {
+				"kind": "build",
+				"isDefault": true
+			},
+			"problemMatcher": []
+		},
+		{
+			"label": "MakeReadme",
+			"type": "shell",
+			"command": "./readme/readme_compile.bat",
+			"presentation": {
+				"echo": true,
+				"reveal": "always",
+				"focus": false,
+				"panel": "shared",
+				"showReuseMessage": false,
+				"clear": true
+			},
+			"group": {
+				"kind": "build"
+			},
+			"problemMatcher": []
+		},
+		{
+			"label": "BuildModFiles",
+			"type": "shell",
+			"command": "./mods/util/BuildModFiles.bat",
+			"presentation": {
+				"echo": true,
+				"reveal": "always",
+				"focus": false,
+				"panel": "shared",
+				"showReuseMessage": false,
+				"clear": true
+			},
+			"group": {
+				"kind": "build"
+			},
+			"problemMatcher": []
+		},
+	]
+}