Improves js demo.
This commit is contained in:
89
demos/js/.vscode/launch.json
vendored
89
demos/js/.vscode/launch.json
vendored
@@ -1,89 +0,0 @@
|
||||
{
|
||||
// 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": "java",
|
||||
"name": "CodeLens (Launch) - DemoLinkedLists",
|
||||
"request": "launch",
|
||||
"mainClass": "DemoLinkedLists"
|
||||
},
|
||||
{
|
||||
"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: Sorting",
|
||||
"program": "${workspaceFolder}/js/dist/demo_sorting",
|
||||
"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
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Java - Demo",
|
||||
"type": "java",
|
||||
"request": "launch",
|
||||
"projectName": "java"
|
||||
}
|
||||
]
|
||||
}
|
||||
8
demos/js/.vscode/settings.json
vendored
8
demos/js/.vscode/settings.json
vendored
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"debugVisualizer.debugAdapterConfigurations": {
|
||||
"php": {
|
||||
"context": "watch",
|
||||
"expressionTemplate": "${expr}"
|
||||
}
|
||||
}
|
||||
}
|
||||
13
demos/js/.vscode/tasks.json
vendored
13
demos/js/.vscode/tasks.json
vendored
@@ -10,23 +10,10 @@
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -65,12 +65,6 @@ class Test1 {
|
||||
};
|
||||
console.log("myValue is AST, annotated with symbol information");
|
||||
debugger;
|
||||
|
||||
for (const ident of identifiers) {
|
||||
myValue = ident;
|
||||
console.log("myValue is an identifier");
|
||||
debugger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user