processing / processing/processing4

`warnMixModes` temporarily disabled

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

还没有人认领这个 Issue。

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

描述

Created by: benfry

The warnMixedModes section of the Processing.g4 grammar was breaking autocomplete.

(See https://github.com/processing/processing4/issues/491 for that issue)

The commit that caused the breakage is https://github.com/processing/processing4/commit/0f9b290398aac86ef56fe3c4e9c3ff88fdd53466

The temporary workaround is in https://github.com/processing/processing4/commit/caf1ba90b63d7c6fbcdfbe0586cf848cb353d1dc

This will affect 4.0 beta 9 unless we happen to get a fix before then.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先检查 Processing.g4 grammar 中的 warnMixedModes 部分,并比较 issue 中链接的 commits,尤其是临时 workaround。复现 issue 491 中描述的 autocomplete 失败;完成的标准是在不破坏 autocomplete 的情况下恢复 grammar 行为。

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

评估

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

把新 issue 发到你的邮箱

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