processing / processing/processing4

Errors should be red in themes, for consistency and visibility

Open
#406 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by locating the editor's default theme definitions and the styling for error bars and squiggly underlines. Verify the default theme shows errors in red and warnings in yellow, then reproduce the reported editing case to confirm the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
design, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.