EditorSyntax icon indicating copy to clipboard operation
EditorSyntax copied to clipboard

Function name not recognized in definition when on different line

Open fflaten opened this issue 3 years ago • 0 comments
trafficstars

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          FunctionWithExtraSpace
{

} FunctionWithExtraSpace

function 
FunctionNameOnDifferentLine {

}

Expected behavior

`FunctionNameOnDifferentLine` is identified

Actual behavior

Notice that `FunctionNameOnDifferentLine` is not recognized. See image.

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

1.71.0-insider

Visuals

image

Actual: image

Expected: image

fflaten avatar Aug 14 '22 17:08 fflaten