Refactor Visual Studio Code configuration: update .gitignore, add settings, tasks, and example JSON files

This commit is contained in:
2026-03-03 22:04:07 +01:00
parent c0020b5e9d
commit 311004790d
5 changed files with 46 additions and 20 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,4 @@
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json

17
.vscode/mcp.example.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"servers": {
"Foodsharing Mcp": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"FsMcp/FsMcp.csproj"
],
"env": {
"USERNAME": "mail@address.com",
"PASSWORD": "sup3rsecur3"
}
}
}
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "FsMcp.slnx"
}

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

@@ -0,0 +1,26 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run FsMcp Debug",
"type": "shell",
"command": "dotnet run --project FsMcp/FsMcp.csproj -c Debug",
"options": {
"statusbar": {
"hide": false,
"label": "Run FsMcp Debug",
"color": "#3a96ff",
"icon": {
"id": "debug-start"
},
"running": {
"color": "#f7df06",
"icon": {
"id": "loading~spin"
}
}
}
}
}
]
}

View File

@@ -1,19 +0,0 @@
{
"servers": {
"FsMcp": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"FsMcp/FsMcp.csproj",
"-c",
"Debug"
],
"env": {
"USERNAME": "your-foodsharing-username",
"PASSWORD": "your-foodsharing-password"
}
}
}
}