summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-21 14:22:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-21 14:22:32 +0800
commit18e1ada299918327eba5920a6c7c28393ffe7804 (patch)
tree230d6bc0ed8fb31caadf507387c04d495c8b96a0 /.vscode
parentc5393d339bc5a67840158f5ab1c659de632278d3 (diff)
downloadlua-language-server-18e1ada299918327eba5920a6c7c28393ffe7804.zip
更新演示图
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/extensions.json7
-rw-r--r--.vscode/launch.json35
-rw-r--r--.vscode/settings.json12
-rw-r--r--.vscode/tasks.json60
4 files changed, 17 insertions, 97 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 00000000..ee71911b
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,7 @@
+{
+ // See http://go.microsoft.com/fwlink/?LinkId=827846
+ // for the documentation about the extensions.json format
+ "recommendations": [
+ "eg2.tslint"
+ ]
+} \ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
index a6428c55..99b82799 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -3,43 +3,16 @@
"version": "0.2.0",
"configurations": [
{
- "name": "测试",
- "type": "lua",
- "request": "launch",
- "stopOnEntry": false,
- "program": "${workspaceRoot}/server/test/main.lua",
- "cwd": "${workspaceRoot}/server",
- "env": {
- "PATH": "${workspaceRoot}\\server\\bin\\"
- },
- "luaRuntime": "5.3 32bit",
- "luaexe": "${workspaceRoot}\\server\\bin\\lua.exe",
- "luadll": "${workspaceRoot}\\server\\bin\\lua53.dll",
- "path": "${workspaceRoot}/server/bin/?.lua",
- "cpath": "${workspaceRoot}/server/bin/?.dll;",
- "arg": [
- ],
- "consoleCoding": "utf8",
- "sourceCoding": "utf8"
- },
- {
- "name": "附加",
- "type": "lua",
- "request": "attach",
- "stopOnEntry": true,
- "sourceCoding": "utf8",
- "consoleCoding": "utf8",
- "ip": "localhost",
- "port": 546858,
- },
- {
"type": "extensionHost",
"request": "launch",
"name": "Launch Client",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
- "preLaunchTask": "npm: watch:client"
+ "preLaunchTask": {
+ "type": "npm",
+ "script": "watch"
+ }
},
{
"type": "node",
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 040cd388..4a9bab7c 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,12 +1,6 @@
{
- "files.exclude": {
- "out": false // set this to true to hide the "out" folder with the compiled JS files
- },
- "search.exclude": {
- "out": true // set this to false to include "out" folder in search results
- },
- "typescript.tsdk": "./node_modules/typescript/lib",
+ "editor.insertSpaces": false,
+ "tslint.enable": true,
"typescript.tsc.autoDetect": "off",
- "npm.exclude": ["**/client", "**/server"],
- "npm.enableScriptExplorer": true
+ "typescript.preferences.quoteStyle": "single"
} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index d089ffb3..5efd8048 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -2,22 +2,8 @@
"version": "2.0.0",
"tasks": [
{
- "label": "compile",
- "dependsOn": [
- {
- "type": "npm",
- "script": "compile:client"
- },
- {
- "type": "npm",
- "script": "compile:server"
- }
- ],
- "problemMatcher": []
- },
- {
"type": "npm",
- "script": "compile:client",
+ "script": "compile",
"group": "build",
"presentation": {
"panel": "dedicated",
@@ -29,52 +15,12 @@
},
{
"type": "npm",
- "script": "compile:server",
- "group": "build",
- "presentation": {
- "panel": "dedicated",
- "reveal": "never"
- },
- "problemMatcher": [
- "$tsc"
- ]
- },
- {
- "label": "watch",
- "dependsOn": [
- {
- "type": "npm",
- "script": "watch:client"
- },
- {
- "type": "npm",
- "script": "watch:server"
- }
- ],
+ "script": "watch",
+ "isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
- "problemMatcher": []
- },
- {
- "type": "npm",
- "script": "watch:client",
- "isBackground": true,
- "group": "build",
- "presentation": {
- "panel": "dedicated",
- "reveal": "never"
- },
- "problemMatcher": [
- "$tsc-watch"
- ]
- },
- {
- "type": "npm",
- "script": "watch:server",
- "isBackground": true,
- "group": "build",
"presentation": {
"panel": "dedicated",
"reveal": "never"