Add workspace settings

This commit is contained in:
Manuel Thalmann 2022-12-14 00:46:02 +01:00
parent ce72afb8ed
commit a64f91e7fa
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B
4 changed files with 107 additions and 75 deletions

View file

@ -1,8 +0,0 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"hbenl.test-adapter-converter",
"hbenl.vscode-mocha-test-adapter",
"hbenl.vscode-test-explorer"
]
}

12
.vscode/settings.json vendored
View file

@ -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"
}

55
.vscode/tasks.json vendored
View file

@ -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"
}
}
]
}

107
ConnectForce.code-workspace Normal file
View file

@ -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"
]
}
}