mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Make naming consistent
This commit is contained in:
3
lsp-multi-root-sample/.vscode/settings.json
vendored
3
lsp-multi-root-sample/.vscode/settings.json
vendored
@ -5,5 +5,6 @@
|
||||
"search.exclude": {
|
||||
"out": true // set this to false to include "out" folder in search results
|
||||
},
|
||||
"typescript.tsdk": "./node_modules/typescript/lib"
|
||||
"typescript.tsdk": "./node_modules/typescript/lib",
|
||||
"typescript.tsc.autoDetect": "off"
|
||||
}
|
||||
57
lsp-multi-root-sample/.vscode/tasks.json
vendored
57
lsp-multi-root-sample/.vscode/tasks.json
vendored
@ -2,31 +2,17 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"taskName": "Compile",
|
||||
"taskName": "compile",
|
||||
"dependsOn": [
|
||||
"Client Compile",
|
||||
"Server Compile"
|
||||
"compile:client",
|
||||
"compile:server"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"taskName": "Client Compile",
|
||||
"type": "shell",
|
||||
"command": "npm run client-compile",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"panel": "dedicated",
|
||||
"reveal": "never"
|
||||
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"taskName": "Server Compile",
|
||||
"type": "shell",
|
||||
"command": "npm run server-compile",
|
||||
"label": "compile:client",
|
||||
"type": "npm",
|
||||
"script": "compile:client",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"panel": "dedicated",
|
||||
@ -37,10 +23,23 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"taskName": "Watch",
|
||||
"label": "compile:server",
|
||||
"type": "npm",
|
||||
"script": "compile:server",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"panel": "dedicated",
|
||||
"reveal": "never"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"taskName": "watch",
|
||||
"dependsOn": [
|
||||
"Client Watch",
|
||||
"Server Watch"
|
||||
"watch:client",
|
||||
"watch:server"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
@ -49,9 +48,9 @@
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"taskName": "Client Watch",
|
||||
"type": "shell",
|
||||
"command": "npm run client-watch",
|
||||
"label": "watch:client",
|
||||
"type": "npm",
|
||||
"script": "watch:client",
|
||||
"isBackground": true,
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
@ -63,9 +62,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"taskName": "Server Watch",
|
||||
"type": "shell",
|
||||
"command": "npm run server-watch",
|
||||
"label": "watch:server",
|
||||
"type": "npm",
|
||||
"script": "watch:server",
|
||||
"isBackground": true,
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
|
||||
@ -12,10 +12,10 @@
|
||||
"scripts": {
|
||||
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
|
||||
"compile": "tsc -p client/tsconfig.json && cd server && npm run installServer && cd .. && tsc -p server/tsconfig.json",
|
||||
"client-compile": "tsc -p client/tsconfig.json",
|
||||
"client-watch": "tsc -w -p client/tsconfig.json",
|
||||
"server-compile": "cd server && npm run installServer && cd .. && tsc -p server/tsconfig.json",
|
||||
"server-watch": "cd server && npm run installServer && cd .. && tsc -w -p server/tsconfig.json"
|
||||
"compile:client": "tsc -p client/tsconfig.json",
|
||||
"watch:client": "tsc -w -p client/tsconfig.json",
|
||||
"compile:server": "cd server && npm run installServer && cd .. && tsc -p server/tsconfig.json",
|
||||
"watch:server": "cd server && npm run installServer && cd .. && tsc -w -p server/tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^2.2.42",
|
||||
|
||||
Reference in New Issue
Block a user