processing / processing/processing4

Errors should be red in themes, for consistency and visibility

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

还没有人认领这个 Issue。

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

描述

Created by: bitshapesoft

Description

First, having themes is great! I appreciate the work going into it. I humbly suggest a functional color choice:

Error bar colors, and squiggly underlines, should stay red (and warnings yellow) across the themes, or at least so in the default theme. As a teacher, it is hard to get students to notice errors while editing. Now, with the neutral gray color, even I am missing them when they appear. Red == error is a convention across just about every IDE, and I think it would be good to keep it that way.

Expected Behavior

When an error is detected during editing, the color of the error message background should be red.

Current Behavior

The error is a neutral dark gray color, which is easy to miss.

I understand that theme colors can be edited, but with a class of 60 students, the defaults make a big impact.

Steps to Reproduce

  1. Open editor with default theme.
  2. Type a line of code with an error.
  3. The squiggly underline and error message background are gray.

Your Environment

  • Processing version: 4.0b5
  • Operating System and OS version: macOS 12.1
  • Other information:

Possible Causes / Solutions

Please make the error color a consistent red throughout the themes.

贡献指南

打开贡献指南

从这里开始

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

调研方向

该 issue 没有指出任何文件或测试;首先定位编辑器的默认主题定义,以及错误条和波浪下划线的样式。确认默认主题将错误显示为红色、警告显示为黄色,然后重现所报告的编辑场景以确认结果。

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

评估

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

把新 issue 发到你的邮箱

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