Skip to content

Commit c191efe

Browse files
Fix devcontainer extensions key (#24359)
* Fix devcontainer vscode extensions definition * Fix formatting --------- Co-authored-by: Travis Plunk <[email protected]>
1 parent 5b6a667 commit c191efe

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
22
{
3-
"name": ".NET Core 6.0, including pwsh (Ubuntu 18.04)",
4-
"dockerFile": "Dockerfile",
3+
"name": ".NET Core 6.0, including pwsh (Ubuntu 18.04)",
4+
"dockerFile": "Dockerfile",
55

6-
"workspaceMount": "source=${localWorkspaceFolder},target=/PowerShell,type=bind",
7-
"workspaceFolder": "/PowerShell",
6+
"workspaceMount": "source=${localWorkspaceFolder},target=/PowerShell,type=bind",
7+
"workspaceFolder": "/PowerShell",
88

9-
// Uncomment the next line to run commands after the container is created.
10-
"postCreateCommand": "cd src/powershell-unix && dotnet restore",
9+
// Uncomment the next line to run commands after the container is created.
10+
"postCreateCommand": "cd src/powershell-unix && dotnet restore",
1111

12-
"extensions": [
13-
"ms-azure-devops.azure-pipelines",
14-
"ms-dotnettools.csharp",
15-
"ms-vscode.powershell",
16-
"DavidAnson.vscode-markdownlint",
17-
"vitaliymaz.vscode-svg-previewer"
18-
]
12+
"customizations": {
13+
"vscode": {
14+
"extensions": [
15+
"ms-azure-devops.azure-pipelines",
16+
"ms-dotnettools.csharp",
17+
"ms-vscode.powershell",
18+
"DavidAnson.vscode-markdownlint",
19+
"vitaliymaz.vscode-svg-previewer"
20+
]
21+
}
22+
}
1923
}

0 commit comments

Comments
 (0)