1
0
mirror of https://github.com/PowerShell/PowerShell synced 2025-10-06 00:22:59 +02:00

Fix devcontainer extensions key (#24359)

* Fix devcontainer vscode extensions definition

* Fix formatting

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
This commit is contained in:
Thomas Nieto
2024-10-03 18:03:04 -05:00
committed by GitHub
parent 5b6a667b50
commit c191efe890

View File

@@ -1,19 +1,23 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details. // See https://aka.ms/vscode-remote/devcontainer.json for format details.
{ {
"name": ".NET Core 6.0, including pwsh (Ubuntu 18.04)", "name": ".NET Core 6.0, including pwsh (Ubuntu 18.04)",
"dockerFile": "Dockerfile", "dockerFile": "Dockerfile",
"workspaceMount": "source=${localWorkspaceFolder},target=/PowerShell,type=bind", "workspaceMount": "source=${localWorkspaceFolder},target=/PowerShell,type=bind",
"workspaceFolder": "/PowerShell", "workspaceFolder": "/PowerShell",
// Uncomment the next line to run commands after the container is created. // Uncomment the next line to run commands after the container is created.
"postCreateCommand": "cd src/powershell-unix && dotnet restore", "postCreateCommand": "cd src/powershell-unix && dotnet restore",
"extensions": [ "customizations": {
"ms-azure-devops.azure-pipelines", "vscode": {
"ms-dotnettools.csharp", "extensions": [
"ms-vscode.powershell", "ms-azure-devops.azure-pipelines",
"DavidAnson.vscode-markdownlint", "ms-dotnettools.csharp",
"vitaliymaz.vscode-svg-previewer" "ms-vscode.powershell",
] "DavidAnson.vscode-markdownlint",
"vitaliymaz.vscode-svg-previewer"
]
}
}
} }