PowerShell / PowerShell/PowerShellEditorServices

Document outline drops child variables when a function/filter reuses a variable name declared earlier (scope-blind declaration dedup)

Open
#2,282 1 comment 1 reaction 2 assignees View on GitHub

@JustinGrote is already working on this.

Since May 6, 2026.

  • #2283 by @copilot-swe-agent — open
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Image

Copilot Instructions: Treat filter keyword the same as function in the LSP when an outline for symbols is requested

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.