Function name not recognized in definition when on different line

未关闭
#214 0 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

@andyleejordan 已经在做这个了。

开始于 2024年3月18日。

评估

这个 Issue 还没有评估数据。

描述

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • 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

主要语言
PowerShell
星标
151
派生
55
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PowerShell/EditorSyntax 的其他 Issue

查看 PowerShell/EditorSyntax 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。