Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

chore: Add VS Code recommended extensions, settings, and build tasks

オープン
#543 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
powershell, vscode

調査の方向性

参照されている SqlServerDsc の .vscode ファイルを、NetworkingDsc の build.yaml および tests/Unit/DSCResources/ パスと比較します。リストされている PowerShell、Pester、analyzer、workspace の設定を含む extensions.json、tasks.json、settings.json、analyzersettings.psd1 を作成します。すべての受け入れ基準に合格し、構成に SQL Server 固有の用語が含まれていなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

chore

Summary

The repository has no .vscode/ folder. Add the standard VS Code workspace configuration files used across DSC Community modules (aligned with SqlServerDsc) to provide a consistent developer experience for all contributors.


Files to create

.vscode/extensions.json

Recommended extensions for contributors:

{
    "recommendations": [
        "davidanson.vscode-markdownlint",
        "pspester.pester-test",
        "ms-vscode.powershell",
        "streetsidesoftware.code-spell-checker"
    ]
}

.vscode/tasks.json

Comprehensive tasks aligned to the build.yaml workflow. All tasks should use ./build.ps1 and target pwsh on Linux/macOS and powershell.exe on Windows.

Tasks to include:

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 code coverage enabled
hqrmtest — ./build.ps1 -AutoRestore -Tasks hqrmtest -CodeCoverageThreshold 0

Each task should include a problemMatcher for Pester failures, appropriate presentation settings, and correct shell configuration per platform.

Use SqlServerDsc tasks.json as the reference and adapt test task paths to tests/Unit/DSCResources/.


.vscode/settings.json

Based on SqlServerDsc settings.json, adapted for NetworkingDsc:

  • PowerShell code formatting (openBraceOnSameLine: false, preset: Custom, etc.)
  • PSScriptAnalyzer path: .vscode/analyzersettings.psd1
  • Pester: pester.testFilePath covering tests/Unit/**/*.Tests.ps1 and tests/QA/*.Tests.ps1; pester.pesterModulePath: ./output/RequiredModules/Pester; pester.runTestsInNewProcess: true
  • github.copilot.chat.codeGeneration.useInstructionFiles: true
  • Editor: files.trimTrailingWhitespace, files.insertFinalNewline, files.trimFinalNewlines
  • cSpell with powershell dictionary and NetworkingDsc-relevant words (no SQL Server terms)
  • Terminal profiles defaulting to pwsh

.vscode/analyzersettings.psd1

Based on SqlServerDsc analyzersettings.psd1:

  • CustomRulePath: ./output/RequiredModules/DscResource.AnalyzerRules and ./output/RequiredModules/Indented.ScriptAnalyzerRules; remove the SqlServerDsc-specific custom rule path
  • Full DSC Community IncludeRules list
  • Rules hashtable for whitespace, brace, and alignment rules

Acceptance criteria

  • .vscode/extensions.json created with the four recommended extensions
  • .vscode/tasks.json created with noop, build, test, test-with-coverage, and hqrmtest tasks
  • .vscode/tasks.json test task paths reflect tests/Unit/DSCResources/
  • .vscode/settings.json created with no SQL Server–specific words or patterns
  • .vscode/analyzersettings.psd1 created with DSC Community analyzer rules

References

主要言語
PowerShell
スター
234
フォーク
92
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dsccommunity/NetworkingDsc のほかの issue

dsccommunity/NetworkingDsc の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。