processing / processing/processing4

Error message `Syntax Error - editor.status.error_on`

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

还没有人认领这个 Issue。

bug
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.5.0

Operating system

Windows 11

Bug description
void abc(String str... s)
{
}

The error message (in the bar above the console) when the cursor is on the function definition

Syntax Error - editor.status.error_on
Steps to reproduce this
  1. Add the above code to any sketch
snippet

See above

Additional context

As a Processing beginner I make plenty of mistakes when trying to figure things out; this was one of them (now solved) but the error message did not tell me anything 😉

Would you like to work on the issue?

No, I’m just reporting the issue

贡献指南

打开贡献指南

从这里开始

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

调研方向

在 Windows 上使用提供的函数定义在 Processing Development Environment 中重现该问题,然后跟踪 PDE 编辑器如何在控制台上方报告语法诊断。完成的标准是:无效声明会生成有用且具体的错误消息,而不是 editor.status.error_on

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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