PowerShell / PowerShell/vscode-powershell

Provide a way to save rule list selected with "Select PSScriptAnalyzer Rules" menu

Open
#823 7 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Configuration Issue-Enhancement
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

When the user uses the "Select PSScriptAnalyzer Rules" menu we currently don't persist those selections past the current session. We should provide an option in that menu which allows the user to save the current rule selection to a PSScriptAnalyzerSettings.psd1 file in their workspace path.

/cc @mattmcnabb

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the implementation of the “Select PSScriptAnalyzer Rules” menu in the TypeScript VS Code extension and trace how its current-session selections are represented. Done means adding a menu option that writes the current selection to PSScriptAnalyzerSettings.psd1 in the workspace path and preserves it beyond the session.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.