This commit is contained in:
benjaminramey
2019-11-02 15:42:12 -05:00
commit 6f79cdf456
29 changed files with 8717 additions and 0 deletions

17
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"ionide.ionide-fsharp",
"ms-vscode.csharp",
"editorconfig.editorconfig",
"msjsdiag.debugger-for-chrome",
"ms-vscode-remote.remote-containers"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
]
}

51
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,51 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Server",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Server",
"program": "${workspaceFolder}/src/Server/bin/Debug/netcoreapp2.2/Server.dll",
"args": [],
"logging": {
"moduleLoad": false
},
"stopAtEntry": false,
"console": "internalConsole",
},
{
"name": "Debug Client",
"type": "chrome",
"request": "launch",
"preLaunchTask": "Watch Client",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src/Client",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceFolder}/*",
}
},
{
"name": "Watch SAFE App",
"type": "chrome",
"request": "launch",
"preLaunchTask": "Watch Client and Server",
"url": "http://localhost:8080",
"env": {
"vsCodeSession":"true"
},
"webRoot": "${workspaceFolder}/src/Client",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceFolder}/*",
}
}
],
"compounds": [
{
"name": "Debug SAFE App",
"configurations": [ "Debug Server", "Debug Client" ],
}
]
}

81
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,81 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build Server",
"command": "dotnet",
"args": [ "build" ],
"type": "shell",
"options": { "cwd": "${workspaceFolder}/src/Server" },
"group": "build",
"problemMatcher": [ "$msCompile" ]
},
{
"label": "Watch Client and Server",
"command": "fake",
"args": [ "build", "-t", "Run" ],
"type": "shell",
"options": {
"cwd": "${workspaceFolder}",
"env": {
"vsCodeSession": "true"
}
},
"group": "build",
"isBackground": true,
"problemMatcher": {
"fileLocation": "absolute",
"background": {
"beginsPattern": { "regexp": "run Run" },
"endsPattern": { "regexp": "i 「wdm」: Compiled| 「wdm」: Compiled|The terminal process terminated" },
"activeOnStart": true
},
"pattern": {
"regexp": "^(.*)\\((\\d+),(\\d+)\\): \\((\\d+),(\\d+)\\) (warning|error) FABLE: (.*)$",
"file": 1,
"line": 2,
"column": 3,
"endLine": 4,
"endColumn": 5,
"severity": 6,
"message": 7
}
}
},
{
"label": "Watch Client",
"command": "fake",
"args": [ "build", "-t", "Run" ],
"type": "shell",
"options": {
"cwd": "${workspaceFolder}",
"env": {
"vsCodeSession": "true",
"safeClientOnly": "true"
}
},
"group": "build",
"isBackground": true,
"problemMatcher": {
"fileLocation": "absolute",
"background": {
"beginsPattern": { "regexp": "run Run" },
"endsPattern": { "regexp": "i 「wdm」: Compiled| 「wdm」: Compiled|The terminal process terminated" },
"activeOnStart": true
},
"pattern": {
"regexp": "^(.*)\\((\\d+),(\\d+)\\): \\((\\d+),(\\d+)\\) (warning|error) FABLE: (.*)$",
"file": 1,
"line": 2,
"column": 3,
"endLine": 4,
"endColumn": 5,
"severity": 6,
"message": 7
}
}
}
]
}