From a64f91e7fa00fd7567114d07ad7aa7d3611ff5ef Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 14 Dec 2022 00:46:02 +0100 Subject: [PATCH] Add workspace settings --- .vscode/extensions.json | 8 --- .vscode/settings.json | 12 ---- .vscode/tasks.json | 55 ------------------ ConnectForce.code-workspace | 107 ++++++++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+), 75 deletions(-) delete mode 100644 .vscode/extensions.json delete mode 100644 .vscode/settings.json delete mode 100644 .vscode/tasks.json create mode 100644 ConnectForce.code-workspace diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index d57d021..0000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "recommendations": [ - "dbaeumer.vscode-eslint", - "hbenl.test-adapter-converter", - "hbenl.vscode-mocha-test-adapter", - "hbenl.vscode-test-explorer" - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index ce132b2..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, - "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true, - "javascript.format.placeOpenBraceOnNewLineForFunctions": true, - "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, - "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true, - "typescript.format.placeOpenBraceOnNewLineForFunctions": true, - "html.format.extraLiners": "", - "html.format.indentInnerHtml": true, - "html.format.maxPreserveNewLines": 1, - "html.format.wrapAttributes": "preserve-aligned" -} diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 1734c09..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "Build", - "type": "npm", - "script": "watch", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [ - { - "owner": "gulp", - "pattern": { - "regexp": "" - }, - "background": { - "activeOnStart": true, - "beginsPattern": { - "regexp": "Starting '(?!Watch).*?'" - }, - "endsPattern": { - "regexp": "Finished '.*?'" - } - } - } - ], - "isBackground": true, - "presentation": { - "reveal": "never" - } - }, - { - "label": "Rebuild", - "type": "npm", - "script": "rebuild", - "problemMatcher": [], - "presentation": { - "reveal": "never" - } - }, - { - "label": "Lint", - "type": "npm", - "script": "lint-ide", - "problemMatcher": "$eslint-stylish", - "presentation": { - "reveal": "never" - } - } - ] -} diff --git a/ConnectForce.code-workspace b/ConnectForce.code-workspace new file mode 100644 index 0000000..bd3ab13 --- /dev/null +++ b/ConnectForce.code-workspace @@ -0,0 +1,107 @@ +{ + "folders": [ + { + "name": "ConnectForce", + "path": "./packages/game" + }, + { + "name": "Solution Items", + "path": "." + } + ], + "settings": { + "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, + "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true, + "javascript.format.placeOpenBraceOnNewLineForFunctions": true, + "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, + "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true, + "typescript.format.placeOpenBraceOnNewLineForFunctions": true, + "html.format.extraLiners": "", + "html.format.indentInnerHtml": true, + "html.format.maxPreserveNewLines": 1, + "html.format.wrapAttributes": "preserve-aligned" + }, + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "tasks": { + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "type": "npm", + "script": "watch", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + { + "owner": "gulp", + "pattern": { + "regexp": "" + }, + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "Starting '(?!Watch).*?'" + }, + "endsPattern": { + "regexp": "Finished '.*?'" + } + } + } + ], + "isBackground": true, + "presentation": { + "reveal": "never" + } + }, + { + "label": "Rebuild", + "type": "npm", + "script": "rebuild", + "problemMatcher": [], + "presentation": { + "reveal": "never" + } + }, + { + "label": "Lint", + "type": "npm", + "script": "lint-ide", + "problemMatcher": "$eslint-stylish", + "presentation": { + "reveal": "never" + } + } + ] + }, + // 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 + "launch": { + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Website in Chrome", + "url": "http://localhost:3000", + "webRoot": "${workspaceFolder:ConnectForce}/lib/static", + "preLaunchTask": "Build", + "pathMapping": { + "/": "${workspaceFolder:ConnectForce}/src" + } + } + ], + "compounds": [] + }, + "extensions": { + "recommendations": [ + "dbaeumer.vscode-eslint", + "hbenl.test-adapter-converter", + "hbenl.vscode-mocha-test-adapter", + "hbenl.vscode-test-explorer" + ] + } +}