From c6e0d40b11841f90f906d8bc1eb2ce38aacdc5d8 Mon Sep 17 00:00:00 2001 From: Steffen Balslev Date: Tue, 16 Sep 2025 11:00:01 +0200 Subject: [PATCH] Add devcontainer configuration for BC Apps Adding initial Codespace configuration for working with BC Apps --- .devcontainer/BCApps/devcontainer.json | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .devcontainer/BCApps/devcontainer.json diff --git a/.devcontainer/BCApps/devcontainer.json b/.devcontainer/BCApps/devcontainer.json new file mode 100644 index 0000000000..a925207f2e --- /dev/null +++ b/.devcontainer/BCApps/devcontainer.json @@ -0,0 +1,55 @@ +{ + "name": "Business Central BC Apps", + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "features": { + "ghcr.io/devcontainers/features/dotnet:2": { + "version": "8.0" + }, + "ghcr.io/devcontainers/features/powershell:1": {}, + "ghcr.io/devcontainers-contrib/features/jshint:2": {}, + "ghcr.io/devcontainers/features/node:1": {} + }, + "postCreateCommand": "dotnet --version && pwsh -NoLogo -Command '$PSVersionTable';yarn install", + "workspaceFolder": "/workspaces/BCApps", + "customizations": { + "vscode": { + "extensions": [ + "ms-dynamics-smb.al@prerelease", + "GitHub.copilot", + "GitHub.vscode-pull-request-github", + "GitHub.vscode-github-actions", + "ms-azuretools.vscode-docker", + "ms-vscode.vscode-typescript-next", + "ms-vscode.yaml", + "ms-vscode.powershell" + ], + "settings": { + "editor.tabSize": 3, + "editor.insertSpaces": true, + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "al.enableCodeAnalysis": true, + "al.codeAnalyzers": [ + "${AppSourceCop}", + "${CodeCop}", + "${UICop}" + ], + "al.useInteractiveLogin": false, + "github.copilot.enable": { + "enabled": true + }, + "github.copilot.inlineSuggest.enable": true, + "powershell.integratedConsole.showOnStartup": false, + "chat.mcp.enabled": true + }, + "mcp": { + "servers": { + "ms-learn-mcp": { + "url": "https://learn.microsoft.com/api/mcp", + "type": "http" + } + } + } + } + } +}