Summary
The repository has no .vscode/ folder. Add the standard VS Code workspace configuration files used across DSC Community modules (aligned with SqlServerDsc).
Files to create
.vscode/extensions.json
{
"recommendations": [
"davidanson.vscode-markdownlint",
"pspester.pester-test",
"ms-vscode.powershell",
"streetsidesoftware.code-spell-checker"
]
}
.vscode/tasks.json
| Label |
Build group |
Command |
noop |
— |
./build.ps1 -Tasks noop |
build |
build (default) |
./build.ps1 -AutoRestore -Tasks build |
test |
test (default) |
./build.ps1 -Tasks noop; Invoke-Pester -Path './tests/Unit' -Output Detailed |
test-with-coverage |
test |
Unit tests with coverage |
hqrmtest |
— |
./build.ps1 -AutoRestore -Tasks hqrmtest -CodeCoverageThreshold 0 |
Include problemMatcher, presentation settings, and per-platform shell config. Reference: SqlServerDsc tasks.json. Adapt test paths to tests/Unit/DSCResources/.
.vscode/settings.json
Based on SqlServerDsc settings.json: PowerShell formatting, PSScriptAnalyzer path, Pester integration, useInstructionFiles: true, cSpell with StorageDsc-relevant words (no SQL Server terms), terminal profiles defaulting to pwsh.
.vscode/analyzersettings.psd1
Based on SqlServerDsc analyzersettings.psd1 — remove SqlServerDsc-specific custom rule path.
Acceptance criteria
References
Summary
The repository has no
.vscode/folder. Add the standard VS Code workspace configuration files used across DSC Community modules (aligned with SqlServerDsc).Files to create
.vscode/extensions.json{ "recommendations": [ "davidanson.vscode-markdownlint", "pspester.pester-test", "ms-vscode.powershell", "streetsidesoftware.code-spell-checker" ] }.vscode/tasks.jsonnoop./build.ps1 -Tasks noopbuild./build.ps1 -AutoRestore -Tasks buildtest./build.ps1 -Tasks noop; Invoke-Pester -Path './tests/Unit' -Output Detailedtest-with-coveragehqrmtest./build.ps1 -AutoRestore -Tasks hqrmtest -CodeCoverageThreshold 0Include
problemMatcher,presentationsettings, and per-platform shell config. Reference: SqlServerDsctasks.json. Adapt test paths totests/Unit/DSCResources/..vscode/settings.jsonBased on SqlServerDsc
settings.json: PowerShell formatting, PSScriptAnalyzer path, Pester integration,useInstructionFiles: true, cSpell with StorageDsc-relevant words (no SQL Server terms), terminal profiles defaulting topwsh..vscode/analyzersettings.psd1Based on SqlServerDsc
analyzersettings.psd1— remove SqlServerDsc-specific custom rule path.Acceptance criteria
.vscode/extensions.jsoncreated.vscode/tasks.jsoncreated; test paths reflecttests/Unit/DSCResources/.vscode/settings.jsoncreated with no SQL Server–specific content.vscode/analyzersettings.psd1createdReferences
.vscode/folder: https://github.com/dsccommunity/SqlServerDsc/tree/main/.vscode