processing / processing/processing4

Errors should be red in themes, for consistency and visibility

Offen
#406 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Java
Sterne
494
Forks
183
Ø Merge
4 Std. 39 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Das Issue nennt keine Dateien oder Tests; beginne damit, die Definitionen des Standarddesigns des Editors und die Formatierung für Fehlerbalken und wellenförmige Unterstreichungen zu finden. Überprüfe, dass das Standarddesign Fehler rot und Warnungen gelb anzeigt, und reproduziere dann den gemeldeten Bearbeitungsfall, um das Ergebnis zu bestätigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
design, desktop
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.