forked from PlagueHO/github-copilot-assets-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
100 lines (97 loc) · 3.76 KB
/
Copy pathdevcontainer.json
File metadata and controls
100 lines (97 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "genai-database-explorer",
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-jammy",
"workspaceFolder": "/workspaces/genai-database-explorer",
"onCreateCommand": "bash ./.devcontainer/on-setup.sh",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/dotnet:2": {
"version": "8.0",
"dotnetRuntimeVersions": "8.0",
"aspNetCoreRuntimeVersions": "8.0"
},
"ghcr.io/devcontainers/features/powershell:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/git:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts",
"nodeGypDependencies": true
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"enableNonRootDocker": "true"
}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true,
"dotnet.inlayHints.enableInlayHintsForParameters": true,
"dotnet.inlayHints.enableInlayHintsForLiteralParameters": true,
"dotnet.inlayHints.enableInlayHintsForIndexerParameters": true,
"dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": true,
"dotnet.inlayHints.enableInlayHintsForOtherParameters": true,
"dotnet.inlayHints.enableInlayHintsForTypes": true,
"dotnet.inlayHints.enableInlayHintsForImplicitVariableTypes": true,
"dotnet.inlayHints.enableInlayHintsForImplicitObjectCreation": true,
"dotnet.preferCSharpExtension": true,
"bicep.experimental.deployments.enabled": true,
"bicep.suppressedWarnings": [],
"files.associations": {
"*.bicep": "bicep"
}
},
"extensions": [
// .NET and C# Development
"ms-dotnettools.csharp",
"ms-dotnettools.csdevkit",
"ms-dotnettools.vscode-dotnet-runtime",
// Azure Development
"ms-azuretools.vscode-bicep",
"ms-azuretools.azure-dev",
"ms-vscode.azurecli",
"ms-azuretools.vscode-docker",
"ms-azuretools.vscode-azureresourcegroups",
"ms-azuretools.vscode-azurefunctions",
"ms-azuretools.vscode-azureappservice",
"ms-azuretools.vscode-azurestorage",
"ms-azuretools.vscode-cosmosdb",
"ms-vscode.vscode-node-azure-pack",
// GitHub and DevOps
"GitHub.copilot",
"GitHub.copilot-chat",
"GitHub.vscode-github-actions",
"GitHub.vscode-pull-request-github"
]
}
},
// Add additional configuration
"remoteUser": "vscode",
"postCreateCommand": "dotnet restore",
"forwardPorts": [5000, 5001, 7071],
"portsAttributes": {
"5000": {
"label": "HTTP",
"protocol": "http"
},
"5001": {
"label": "HTTPS",
"protocol": "https"
},
"7071": {
"label": "Azure Functions",
"protocol": "http"
}
}
}