Skip to content

Pester symbols have leading whitespace in search #1891

Closed
@fflaten

Description

@fflaten

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

  1. Create a file "My.Tests.ps1"
Describe 'Demo' {
    It 'MyTest' {
        1 | Should -Be 2
    }
}
  1. Ctrl + T for symbol search and notice It-blocks

Expected behavior

Left aligned names

Actual behavior

Indented names

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

2022.8.2-preview

Visuals

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: TriageMaintainer attention needed!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions