PowerShell/PowerShellEditorServices

Hovering function name doesn't work when function is indented

fflaten opened this issue · 0 comments

Prerequisites

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

Steps to reproduce

Create a function, hover the name and notice the highlight.
Indent the function (ex. nested function) and try again. You'll have to hover "function" for it to highlight anything.

Expected behavior

Highlighting is consistent

Actual behavior

Highlight start doesn't respect indendation/startcolumn.

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

image

image