Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit d6c4972

Browse files
authored
Add customizations property (#1447)
1 parent 16e66f5 commit d6c4972

File tree

93 files changed

+1347
-959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1347
-959
lines changed

.devcontainer/devcontainer.json

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,30 @@
55
"runArgs": [
66
"--shm-size=1g",
77
],
8-
"settings": {
9-
"resmon.show.battery": false,
10-
"resmon.show.cpufreq": false
8+
// Configure tool-specific properties.
9+
"customizations": {
10+
// Configure properties specific to VS Code.
11+
"vscode": {
12+
// Set *default* container specific settings.json values on container create.
13+
"settings": {
14+
"resmon.show.battery": false,
15+
"resmon.show.cpufreq": false
16+
},
17+
18+
// Add the IDs of extensions you want installed when the container is created.
19+
"extensions": [
20+
"ms-azuretools.vscode-docker",
21+
"dbaeumer.vscode-eslint",
22+
"rogalmic.bash-debug",
23+
"mads-hartmann.bash-ide-vscode",
24+
"streetsidesoftware.code-spell-checker",
25+
"mutantdino.resourcemonitor",
26+
"bierner.github-markdown-preview",
27+
"EditorConfig.EditorConfig",
28+
"chrisdias.vscode-opennewinstance"
29+
]
30+
}
1131
},
12-
"extensions": [
13-
"ms-azuretools.vscode-docker",
14-
"dbaeumer.vscode-eslint",
15-
"rogalmic.bash-debug",
16-
"mads-hartmann.bash-ide-vscode",
17-
"streetsidesoftware.code-spell-checker",
18-
"mutantdino.resourcemonitor",
19-
"bierner.github-markdown-preview",
20-
"EditorConfig.EditorConfig",
21-
"chrisdias.vscode-opennewinstance"
22-
],
2332
"forwardPorts": [6080],
2433
"portsAttributes": {
2534
"6080": {

containers/alpine/.devcontainer/devcontainer.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
// Update 'VARIANT' to pick an Alpine version: 3.13, 3.14, 3.15
66
"args": { "VARIANT": "3.15" }
77
},
8-
9-
// Set *default* container specific settings.json values on container create.
10-
"settings": {},
11-
12-
// Add the IDs of extensions you want installed when the container is created.
13-
// Note that some extensions may not work in Alpine Linux. See https://aka.ms/vscode-remote/linux.
14-
"extensions": [],
158

169
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1710
// "forwardPorts": [],

containers/azure-ansible/.devcontainer/devcontainer.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,19 @@
1616
],
1717
"overrideCommand": false,
1818

19-
// Set *default* container specific settings.json values on container create.
20-
"settings": {},
21-
22-
// Add the IDs of extensions you want installed when the container is created.
23-
"extensions": [
24-
"vscoss.vscode-ansible",
25-
"redhat.vscode-yaml",
26-
"ms-vscode.azurecli",
27-
"ms-azuretools.vscode-docker"
28-
],
19+
// Configure tool-specific properties.
20+
"customizations": {
21+
// Configure properties specific to VS Code.
22+
"vscode": {
23+
// Add the IDs of extensions you want installed when the container is created.
24+
"extensions": [
25+
"vscoss.vscode-ansible",
26+
"redhat.vscode-yaml",
27+
"ms-vscode.azurecli",
28+
"ms-azuretools.vscode-docker"
29+
]
30+
}
31+
},
2932

3033
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3134
// "forwardPorts": [],

containers/azure-bicep/.devcontainer/devcontainer.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
22
"name": "Azure Bicep (Community)",
33
"dockerFile": "Dockerfile",
4-
5-
// Set *default* container specific settings.json values on container create.
6-
"settings": {},
7-
8-
// Add the IDs of extensions you want installed when the container is created.
9-
"extensions": [
10-
"ms-vscode.azurecli",
11-
"ms-dotnettools.vscode-dotnet-runtime",
12-
"ms-azuretools.vscode-bicep"
13-
],
4+
5+
// Configure tool-specific properties.
6+
"customizations": {
7+
// Configure properties specific to VS Code.
8+
"vscode": {
9+
// Add the IDs of extensions you want installed when the container is created.
10+
"extensions": [
11+
"ms-vscode.azurecli",
12+
"ms-dotnettools.vscode-dotnet-runtime",
13+
"ms-azuretools.vscode-bicep"
14+
]
15+
}
16+
},
1417

1518
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1619
// "forwardPorts": [],

containers/azure-cli/.devcontainer/devcontainer.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
"name": "Azure CLI",
33
"dockerFile": "Dockerfile",
44

5-
// Set *default* container specific settings.json values on container create.
6-
"settings": {},
7-
8-
// Add the IDs of extensions you want installed when the container is created.
9-
"extensions": [
10-
"ms-vscode.azurecli"
11-
],
5+
// Configure tool-specific properties.
6+
"customizations": {
7+
// Configure properties specific to VS Code.
8+
"vscode": {
9+
// Add the IDs of extensions you want installed when the container is created.
10+
"extensions": [
11+
"ms-vscode.azurecli"
12+
]
13+
}
14+
},
1215

1316
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1417
// "forwardPorts": [],

containers/azure-functions-dotnet-6-inprocess/.devcontainer/devcontainer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [ 7071 ],
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {},
8-
9-
// Add the IDs of extensions you want installed when the container is created.
10-
"extensions": [
11-
"ms-azuretools.vscode-azurefunctions",
12-
"ms-dotnettools.csharp"
13-
],
6+
// Configure tool-specific properties.
7+
"customizations": {
8+
// Configure properties specific to VS Code.
9+
"vscode": {
10+
// Add the IDs of extensions you want installed when the container is created.
11+
"extensions": [
12+
"ms-azuretools.vscode-azurefunctions",
13+
"ms-dotnettools.csharp"
14+
]
15+
}
16+
},
1417

1518
// Use 'postCreateCommand' to run commands after the container is created.
1619
// "postCreateCommand": "dotnet restore",

containers/azure-functions-dotnet-6-isolated/.devcontainer/devcontainer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [ 7071 ],
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {},
8-
9-
// Add the IDs of extensions you want installed when the container is created.
10-
"extensions": [
11-
"ms-azuretools.vscode-azurefunctions",
12-
"ms-dotnettools.csharp"
13-
],
6+
// Configure tool-specific properties.
7+
"customizations": {
8+
// Configure properties specific to VS Code.
9+
"vscode": {
10+
// Add the IDs of extensions you want installed when the container is created.
11+
"extensions": [
12+
"ms-azuretools.vscode-azurefunctions",
13+
"ms-dotnettools.csharp"
14+
]
15+
}
16+
},
1417

1518
// Use 'postCreateCommand' to run commands after the container is created.
1619
// "postCreateCommand": "dotnet restore",

containers/azure-functions-dotnetcore-3.1/.devcontainer/devcontainer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [ 7071 ],
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {},
8-
9-
// Add the IDs of extensions you want installed when the container is created.
10-
"extensions": [
11-
"ms-azuretools.vscode-azurefunctions",
12-
"ms-dotnettools.csharp"
13-
],
6+
// Configure tool-specific properties.
7+
"customizations": {
8+
// Configure properties specific to VS Code.
9+
"vscode": {
10+
// Add the IDs of extensions you want installed when the container is created.
11+
"extensions": [
12+
"ms-azuretools.vscode-azurefunctions",
13+
"ms-dotnettools.csharp"
14+
]
15+
}
16+
},
1417

1518
// Use 'postCreateCommand' to run commands after the container is created.
1619
// "postCreateCommand": "dotnet restore",

containers/azure-functions-java-11/.devcontainer/devcontainer.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,23 @@
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [ 7071 ],
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {
8-
"java.home": "/usr/lib/jvm/zulu-11-azure-amd64"
6+
// Configure tool-specific properties.
7+
"customizations": {
8+
// Configure properties specific to VS Code.
9+
"vscode": {
10+
// Set *default* container specific settings.json values on container create.
11+
"settings": {
12+
"java.home": "/usr/lib/jvm/zulu-11-azure-amd64"
13+
},
14+
15+
// Add the IDs of extensions you want installed when the container is created.
16+
"extensions": [
17+
"ms-azuretools.vscode-azurefunctions",
18+
"vscjava.vscode-java-pack"
19+
]
20+
}
921
},
1022

11-
// Add the IDs of extensions you want installed when the container is created.
12-
"extensions": [
13-
"ms-azuretools.vscode-azurefunctions",
14-
"vscjava.vscode-java-pack"
15-
],
16-
1723
// Use 'postCreateCommand' to run commands after the container is created.
1824
// "postCreateCommand": "java -version",
1925

containers/azure-functions-java-8/.devcontainer/devcontainer.json

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,30 @@
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [ 7071 ],
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {
8-
"java.home": "/usr/lib/jvm/zulu-11-azure-amd64",
9-
"java.configuration.runtimes": [
10-
{
11-
"default": true,
12-
"name": "JavaSE-1.8",
13-
"path": "/usr/lib/jvm/zulu-8-amd64",
14-
}
15-
],
6+
// Configure tool-specific properties.
7+
"customizations": {
8+
// Configure properties specific to VS Code.
9+
"vscode": {
10+
// Set *default* container specific settings.json values on container create.
11+
"settings": {
12+
"java.home": "/usr/lib/jvm/zulu-11-azure-amd64",
13+
"java.configuration.runtimes": [
14+
{
15+
"default": true,
16+
"name": "JavaSE-1.8",
17+
"path": "/usr/lib/jvm/zulu-8-amd64",
18+
}
19+
]
20+
},
21+
22+
// Add the IDs of extensions you want installed when the container is created.
23+
"extensions": [
24+
"ms-azuretools.vscode-azurefunctions",
25+
"vscjava.vscode-java-pack"
26+
]
27+
}
1628
},
1729

18-
// Add the IDs of extensions you want installed when the container is created.
19-
"extensions": [
20-
"ms-azuretools.vscode-azurefunctions",
21-
"vscjava.vscode-java-pack"
22-
],
23-
2430
// Use 'postCreateCommand' to run commands after the container is created.
2531
// "postCreateCommand": "java -version",
2632

containers/azure-functions-node/.devcontainer/devcontainer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
},
88
"forwardPorts": [ 7071 ],
99

10-
// Set *default* container specific settings.json values on container create.
11-
"settings": {},
12-
13-
// Add the IDs of extensions you want installed when the container is created.
14-
"extensions": [
15-
"ms-azuretools.vscode-azurefunctions",
16-
"dbaeumer.vscode-eslint"
17-
],
10+
// Configure tool-specific properties.
11+
"customizations": {
12+
// Configure properties specific to VS Code.
13+
"vscode": {
14+
// Add the IDs of extensions you want installed when the container is created.
15+
"extensions": [
16+
"ms-azuretools.vscode-azurefunctions",
17+
"dbaeumer.vscode-eslint"
18+
]
19+
}
20+
},
1821

1922
// Use 'postCreateCommand' to run commands after the container is created.
2023
// "postCreateCommand": "npm install",

containers/azure-functions-pwsh/.devcontainer/devcontainer.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,23 @@
88
}
99
},
1010
"forwardPorts": [ 7071 ],
11-
12-
// Set *default* container specific settings.json values on container create.
13-
"settings": {
14-
"terminal.integrated.defaultProfile.linux": "pwsh"
15-
},
1611

17-
// Add the IDs of extensions you want installed when the container is created.
18-
"extensions": [
19-
"ms-azuretools.vscode-azurefunctions",
20-
"ms-vscode.powershell"
21-
],
12+
// Configure tool-specific properties.
13+
"customizations": {
14+
// Configure properties specific to VS Code.
15+
"vscode": {
16+
// Set *default* container specific settings.json values on container create.
17+
"settings": {
18+
"terminal.integrated.defaultProfile.linux": "pwsh"
19+
},
20+
21+
// Add the IDs of extensions you want installed when the container is created.
22+
"extensions": [
23+
"ms-azuretools.vscode-azurefunctions",
24+
"ms-vscode.powershell"
25+
]
26+
}
27+
},
2228

2329
// Use 'postCreateCommand' to run commands after the container is created.
2430
// "postCreateCommand": "dotnet restore",

containers/azure-functions-python-3/.devcontainer/devcontainer.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [ 7071 ],
55

6-
// Set *default* container specific settings.json values on container create.
7-
"settings": {},
8-
9-
// Add the IDs of extensions you want installed when the container is created.
10-
"extensions": [
11-
"ms-azuretools.vscode-azurefunctions",
12-
"ms-azuretools.vscode-docker",
13-
"ms-python.python"
14-
],
6+
// Configure tool-specific properties.
7+
"customizations": {
8+
// Configure properties specific to VS Code.
9+
"vscode": {
10+
// Add the IDs of extensions you want installed when the container is created.
11+
"extensions": [
12+
"ms-azuretools.vscode-azurefunctions",
13+
"ms-azuretools.vscode-docker",
14+
"ms-python.python"
15+
]
16+
}
17+
},
1518

1619
// Use 'postCreateCommand' to run commands after the container is created.
1720
// "postCreateCommand": "npm install",

0 commit comments

Comments
 (0)