Refactor Visual Studio Code configuration: update .gitignore, add settings, tasks, and example JSON files
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
# ---> VisualStudioCode
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
|
||||
17
.vscode/mcp.example.json
vendored
Normal file
17
.vscode/mcp.example.json
vendored
Normal 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
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"dotnet.defaultSolution": "FsMcp.slnx"
|
||||
}
|
||||
26
.vscode/tasks.json
vendored
Normal file
26
.vscode/tasks.json
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user