summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authoractboy168 <actboy168@gmail.com>2019-06-10 16:03:59 +0800
committeractboy168 <actboy168@gmail.com>2019-06-10 16:03:59 +0800
commit7d1a60dfcbffd163c56cc319bd13a51e8ff405b1 (patch)
treeffaca535468c7a019a4b19469cad49e25920b46b /.vscode
parent55ec1070ea56297151f06a988322c4a8b404c607 (diff)
downloadlua-language-server-7d1a60dfcbffd163c56cc319bd13a51e8ff405b1.zip
安装脚本
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/extensions.json5
-rw-r--r--.vscode/tasks.json24
2 files changed, 28 insertions, 1 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 00000000..c6d835df
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,5 @@
+{
+ "recommendations": [
+ "actboy168.extension-path",
+ ]
+} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 0477aa2e..11a5f61e 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -5,6 +5,28 @@
"type": "shell",
"label": "编译",
"command": "cd 3rd\\luamake && tools\\ninja -f ninja\\msvc.ninja && cd ..\\.. && 3rd\\luamake\\luamake rebuild"
+ },
+ {
+ "label": "Copy Extension",
+ "command": "${workspaceFolder}/build/lua",
+ "args": [
+ "make/copy.lua",
+ "${command:extensionPath}"
+ ],
+ "type": "shell",
+ "windows": {
+ "options": {
+ "shell": {
+ "executable": "C:\\Windows\\System32\\cmd.exe",
+ "args": [
+ "/c"
+ ]
+ }
+ }
+ },
+ "options": {
+ "cwd": "${workspaceFolder}"
+ },
}
]
-}
+} \ No newline at end of file