This is the thin VS Code host for the PowerShell-based BC-Dev-Toolset.
The extension does not reimplement Business Central logic. It locates a central toolset installation, reads operations/operations.json, and runs operations through Invoke-BcDevToolsetOperation.ps1.
Manual Installation
Install a packaged .vsix from VS Code:
- Open VS Code.
- Run
Extensions: Install from VSIX... from the Command Palette.
- Select
bc-dev-toolset-<version>.vsix.
- Open a Business Central workspace.
- Run
BC Dev Toolset: Configure Workspace.
The extension automatically creates or updates the central runtime copy in %LOCALAPPDATA%\BC-Dev-Toolset\toolset by default. Runtime scripts are bundled into the VSIX and copied from the installed extension package. Workspace-local configuration is stored beside the active .code-workspace file in .bcdevtoolset/settings.json.
Commands
BC Dev Toolset: Configure Workspace
BC Dev Toolset: Open Local Settings (JSON)
BC Dev Toolset: Show Operations List
BC Dev Toolset: Show object id range visualization data
- Individual operation commands under the
BC Dev Toolset: prefix
Settings
bcDevToolset.toolsetPath
bcDevToolset.powershellExecutable
bcDevToolset.localSettingsPath
The extension deploys a bundled runtime copy to the central runtime install. It contains only:
Invoke-BcDevToolsetOperation.ps1
common/
operations/
visualization/
Development
Open the vscode-extension folder in VS Code and run the extension host. When the extension runs in development mode from a full BC-Dev-Toolset clone, it uses the repository root as the toolset path automatically and does not sync the central runtime copy.
The extension is plain JavaScript and does not require a build step.
Validate the extension entry point:
npm run validate
Package a VSIX for manual distribution:
npm run package
The package script first stages the runtime files into vscode-extension/runtime, then produces bc-dev-toolset-<version>.vsix in the vscode-extension folder.