summaryrefslogtreecommitdiff
path: root/Data/.vscode
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-26 11:32:46 +0800
committerchai <chaifix@163.com>2021-10-26 11:32:46 +0800
commit0549b1e5a8a3132005e275d6026db8003cb067d2 (patch)
treef0d7751ec32ecf5c4d23997fa0ffd3450a5a755a /Data/.vscode
parent32345800737b668011a87328cd3dcce59ec2934c (diff)
*rename folder
Diffstat (limited to 'Data/.vscode')
-rw-r--r--Data/.vscode/KillEditor.bat1
-rw-r--r--Data/.vscode/LaunchEditor.bat1
-rw-r--r--Data/.vscode/launch.json37
-rw-r--r--Data/.vscode/settings.json3
-rw-r--r--Data/.vscode/tasks.json19
5 files changed, 61 insertions, 0 deletions
diff --git a/Data/.vscode/KillEditor.bat b/Data/.vscode/KillEditor.bat
new file mode 100644
index 0000000..8ba7d7a
--- /dev/null
+++ b/Data/.vscode/KillEditor.bat
@@ -0,0 +1 @@
+taskkill /f /im Editor.exe \ No newline at end of file
diff --git a/Data/.vscode/LaunchEditor.bat b/Data/.vscode/LaunchEditor.bat
new file mode 100644
index 0000000..bb9661c
--- /dev/null
+++ b/Data/.vscode/LaunchEditor.bat
@@ -0,0 +1 @@
+start "GameLabEditor" cmd /c "timeout 3 & ..\Build\Editor.exe" \ No newline at end of file
diff --git a/Data/.vscode/launch.json b/Data/.vscode/launch.json
new file mode 100644
index 0000000..94088ea
--- /dev/null
+++ b/Data/.vscode/launch.json
@@ -0,0 +1,37 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "type": "lua",
+ "request": "launch",
+ "tag": "normal",
+ "name": "LuaPanda",
+ "description": "通用模式,通常调试项目请选择此模式 | launchVer:3.2.0",
+ "cwd": "${workspaceFolder}",
+ "luaFileExtension": "",
+ "connectionPort": 8818,
+ "stopOnEntry": false,
+ "useCHook": true,
+ "autoPathMode": true,
+ // 自动启动编辑器
+ "program": "${workspaceFolder}/../Build/Editor.exe", "postDebugTask": "KillEditor"
+ //"preLaunchTask": "LaunchEditor", "postDebugTask": "KillEditor"
+ },
+ {
+ "type": "lua",
+ "request": "launch",
+ "tag": "independent_file",
+ "name": "LuaPanda-IndependentFile",
+ "description": "独立文件调试模式,使用前请参考文档",
+ "luaPath": "",
+ "packagePath": [],
+ "luaFileExtension": "",
+ "connectionPort": 8820,
+ "stopOnEntry": false,
+ "useCHook": true
+ }
+ ]
+} \ No newline at end of file
diff --git a/Data/.vscode/settings.json b/Data/.vscode/settings.json
new file mode 100644
index 0000000..55d72f8
--- /dev/null
+++ b/Data/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "lua_analyzer.codeLinting.ignoreErrorCode": "611;612;613;614;542;631"
+} \ No newline at end of file
diff --git a/Data/.vscode/tasks.json b/Data/.vscode/tasks.json
new file mode 100644
index 0000000..6409b18
--- /dev/null
+++ b/Data/.vscode/tasks.json
@@ -0,0 +1,19 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "LaunchEditor",
+ "type": "shell",
+ "command": "${workspaceFolder}/.vscode/LaunchEditor.bat"
+ },
+ {
+ "label": "KillEditor",
+ "type": "shell",
+ "command": "${workspaceFolder}/.vscode/KillEditor.bat",
+ "isBackground": true,
+ "presentation": {
+ "reveal": "never" // 在终端里隐藏
+ },
+ }
+ ]
+} \ No newline at end of file