Skip to content

Commit be02fed

Browse files
jorhettderic
authored andcommitted
Update devcontainer format + Ruby vscode extension
1 parent 396c903 commit be02fed

File tree

3 files changed

+47
-46
lines changed

3 files changed

+47
-46
lines changed

.devcontainer/README.md

+29-30
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
# devcontainer
22

3-
4-
For format details, see https://aka.ms/devcontainer.json.
3+
For format details, see https://aka.ms/devcontainer.json.
54

65
For config options, see the README at:
76
https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
8-
9-
``` json
10-
{
11-
"name": "Puppet Development Kit (Community)",
12-
"dockerFile": "Dockerfile",
13-
14-
// Set *default* container specific settings.json values on container create.
15-
"settings": {
16-
"terminal.integrated.profiles.linux": {
17-
"bash": {
18-
"path": "bash",
19-
}
20-
}
21-
},
22-
23-
// Add the IDs of extensions you want installed when the container is created.
24-
"extensions": [
25-
"puppet.puppet-vscode",
26-
"rebornix.Ruby"
27-
],
28-
29-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
30-
"forwardPorts": [],
317

32-
// Use 'postCreateCommand' to run commands after the container is created.
33-
"postCreateCommand": "pdk --version",
8+
```json
9+
{
10+
"name": "Puppet Development Kit (Community)",
11+
"dockerFile": "Dockerfile",
12+
"customizations": {
13+
"vscode": {
14+
// Set *default* container specific settings.json values on container create.
15+
"settings": {
16+
"terminal.integrated.profiles.linux": {
17+
"bash": {
18+
"path": "bash",
19+
}
20+
}
21+
},
22+
23+
// Add the IDs of extensions you want installed when the container is created.
24+
"extensions": [
25+
"puppet.puppet-vscode",
26+
"shopify.ruby-lsp"
27+
]
28+
}
29+
}
30+
31+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
32+
"forwardPorts": [],
33+
34+
// Use 'postCreateCommand' to run commands after the container is created.
35+
"postCreateCommand": "pdk --version",
3436
}
3537
```
36-
37-
38-

.devcontainer/devcontainer.json

+17-15
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
2-
"name": "Puppet Development Kit (Community)",
3-
"dockerFile": "Dockerfile",
4-
5-
"settings": {
6-
"terminal.integrated.profiles.linux": {
7-
"bash": {
8-
"path": "bash"
9-
}
10-
}
11-
},
12-
13-
"extensions": [
14-
"puppet.puppet-vscode",
15-
"rebornix.Ruby"
16-
]
2+
"name": "Puppet Development Kit (Community)",
3+
"dockerFile": "Dockerfile",
4+
"customizations": {
5+
"vscode": {
6+
"settings": {
7+
"terminal.integrated.profiles.linux": {
8+
"bash": {
9+
"path": "bash"
10+
}
11+
}
12+
},
13+
"extensions": [
14+
"puppet.puppet-vscode",
15+
"shopify.ruby-lsp"
16+
]
17+
}
18+
}
1719
}

.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"recommendations": [
33
"puppet.puppet-vscode",
4-
"rebornix.Ruby"
4+
"shopify.ruby-lsp"
55
]
66
}

0 commit comments

Comments
 (0)