PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Outline, symbol search and go to definition should jump to symbol name

Open fflaten opened this issue 3 years ago • 0 comments

Prerequisites

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

Steps to reproduce

function
MyFunc123 {
    'some code'
}

MyFunc123
  • Select the last line and press F12
  • Find MyFunc123 in symbol search
  • Click in outline

Expected behavior

Jumps to line 2 `MyFun123` like other languages like C# and TypeScript

Actual behavior

Jumps to `function`

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.3 preview

Visuals

No response

fflaten avatar Aug 21 '22 14:08 fflaten