Add some vscode files.

This commit is contained in:
haru-s 2023-01-14 20:58:42 +09:00
parent 38e77de421
commit 849bf9ee24
7 changed files with 173 additions and 0 deletions

29
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C++ Launch (Windows) textbox",
"type": "cppvsdbg",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "./examples/textbox/bin/textbox_sample.exe",
"console": "internalConsole"
},
{
"name": "C++ Launch (Windows) trackbar",
"type": "cppvsdbg",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "./examples/trackbar/bin/trackbar_sample.exe",
"console": "internalConsole"
},
{
"name": "C++ Launch (Windows) buttons",
"type": "cppvsdbg",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "./examples/buttons/bin/buttons_example.exe",
"console": "internalConsole"
}
]
}

7
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,7 @@
{
"dscanner.ignoredKeys": [
"dscanner.style.alias_syntax",
"dscanner.style.alias_syntax",
"dscanner.style.phobos_naming_convention"
]
}

73
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,73 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "dub",
"run": false,
"cwd": "c:/d/gitproj/dfl",
"compiler": "$current",
"archType": "$current",
"buildType": "$current",
"configuration": "$current",
"problemMatcher": [
"$dmd"
],
"group": "build",
"label": "dub: Build dfl",
"detail": "dub build --compiler=dmd.EXE -a=x86_64 -b=debug"
},
{
"label": "dub: Build textbox_sample",
"type": "dub",
"run": false,
"cwd": "c:/d/gitproj/dfl/examples/textbox",
"compiler": "$current",
"archType": "$current",
"buildType": "$current",
"problemMatcher": [
"$dmd"
],
"dub_args": [
"--parallel",
"--root=C:\\d\\gitproj\\dfl\\examples\\textbox"
],
"group": "build"
},
{
"label": "dub: Build trackbar",
"type": "dub",
"run": false,
"cwd": "c:/d/gitproj/dfl/examples/trackbar",
"compiler": "$current",
"archType": "$current",
"buildType": "$current",
"problemMatcher": [
"$dmd"
],
"dub_args": [
"--parallel",
"--root=C:\\d\\gitproj\\dfl\\examples\\trackbar"
],
"group": "build"
},
{
"type": "dub",
"run": false,
"cwd": "c:/d/gitproj/dfl/examples/buttons",
"compiler": "$current",
"archType": "$current",
"buildType": "$current",
"configuration": "$current",
"problemMatcher": [
"$dmd"
],
"dub_args": [
"--parallel",
"--root=C:\\d\\gitproj\\dfl\\examples\\buttons"
],
"group": "build",
"label": "dub: Build buttons_example",
"detail": "dub build --compiler=dmd -a=x86_64 -b=debug -c=application"
}
]
}