Updated demos.

This commit is contained in:
Henning Dieterichs
2020-02-19 15:14:11 +01:00
parent 5bc4347f3c
commit 27b9bc1905
27 changed files with 793 additions and 82 deletions

69
demo/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,69 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "TypeScript - Demo: Custom Data Extractor",
"program": "${workspaceFolder}/js/dist/demo_custom-data-extractor",
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "typescript-watch"
},
{
"type": "node",
"request": "launch",
"name": "TypeScript - Demo: Doubly Linked List",
"program": "${workspaceFolder}/js/dist/demo-doubly-linked-list",
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "typescript-watch"
},
{
"type": "node",
"request": "launch",
"name": "TypeScript - Demo: Random Walks",
"program": "${workspaceFolder}/js/dist/demo_random-walks",
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "typescript-watch"
},
{
"type": "node",
"request": "launch",
"name": "TypeScript - Demo: TypeScript ASTs",
"program": "${workspaceFolder}/js/dist/demo_typescript-asts",
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "typescript-watch",
"cwd": "${workspaceFolder}/js"
},
{
"type": "node",
"request": "launch",
"name": "JavaScript - Demo: Singly Linked List",
"program": "${workspaceFolder}/js/src/demo_singly-linked-list",
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "typescript-watch"
},
{
"name": "C# - Demo: Linked List",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "csharp-build",
"program": "${workspaceFolder}/csharp/bin/Debug/netcoreapp3.1/demo.dll",
"args": [],
"cwd": "${workspaceFolder}/csharp",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "PHP - Demo",
"type": "php",
"request": "launch",
"program": "${workspaceFolder}/php/demo.php",
"xdebugSettings": {
"max_data": -1
}
}
]
}

4
demo/.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,4 @@
{
"debugVisualizer.useChromeKioskMode": false,
"editor.minimap.enabled": false
}

32
demo/.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,32 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "typescript-watch",
"script": "dev",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"path": "js/",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "csharp-build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/csharp/demo.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}