Skip to content

Commit 60fe60a

Browse files
committed
vscode setup
1 parent f9f7051 commit 60fe60a

File tree

4 files changed

+109
-0
lines changed

4 files changed

+109
-0
lines changed

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"ms-dotnettools.csharp",
4+
"ms-dotnettools.csdevkit"
5+
]
6+
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": ".NET Core Launch (console)",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"preLaunchTask": "build",
9+
"program": "${workspaceFolder}/bin/Debug/net9.0/UnmanagedStringPool.dll",
10+
"args": [],
11+
"cwd": "${workspaceFolder}",
12+
"console": "internalConsole",
13+
"stopAtEntry": false
14+
},
15+
{
16+
"name": ".NET Core Attach",
17+
"type": "coreclr",
18+
"request": "attach"
19+
}
20+
]
21+
}

.vscode/settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll": "explicit",
5+
"source.organizeImports": "explicit"
6+
},
7+
"files.exclude": {
8+
"**/bin": true,
9+
"**/obj": true
10+
},
11+
"dotnet.defaultSolution": "UnmanagedStringPool.sln"
12+
}

.vscode/tasks.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/UnmanagedStringPool.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
13+
],
14+
"problemMatcher": "$msCompile",
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
},
20+
{
21+
"label": "test",
22+
"command": "dotnet",
23+
"type": "process",
24+
"args": [
25+
"test",
26+
"${workspaceFolder}/Tests/StringPoolTest.csproj",
27+
"/property:GenerateFullPaths=true",
28+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
29+
],
30+
"problemMatcher": "$msCompile",
31+
"group": {
32+
"kind": "test",
33+
"isDefault": true
34+
}
35+
},
36+
{
37+
"label": "clean",
38+
"command": "dotnet",
39+
"type": "process",
40+
"args": [
41+
"clean",
42+
"${workspaceFolder}/UnmanagedStringPool.sln",
43+
"/property:GenerateFullPaths=true",
44+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
45+
],
46+
"problemMatcher": "$msCompile"
47+
},
48+
{
49+
"label": "format",
50+
"command": "dotnet",
51+
"type": "process",
52+
"args": [
53+
"format",
54+
"${workspaceFolder}/UnmanagedStringPool.sln"
55+
],
56+
"problemMatcher": []
57+
},
58+
{
59+
"label": "format (with analyzers)",
60+
"command": "dotnet",
61+
"type": "process",
62+
"args": [
63+
"format",
64+
"analyzers",
65+
"${workspaceFolder}/UnmanagedStringPool.sln"
66+
],
67+
"problemMatcher": []
68+
}
69+
]
70+
}

0 commit comments

Comments
 (0)