PowerShell / PowerShell/PowerShellEditorServices

Do not display PSScriptAnalyzer's whitespace analysis for the cursor's line

Open
#727 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Script Analysis Issue-Enhancement
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Moved over from https://github.com/PowerShell/PSScriptAnalyzer/issues/1033.

We should filter out PSSA diagnostics complaining about whitespace on the cursor's current line.

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 by locating where PowerShell Editor Services consumes or filters PSScriptAnalyzer diagnostics, then trace how the cursor's current line is represented. Verify the change against diagnostics for the current and other lines, ensuring only whitespace diagnostics on the cursor's line are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.