lambdaisland / lambdaisland/deep-diff2
Consider tweaking colors to draw eye to differences
Personne n'a encore pris cette issue.
- Langage dominant
- Clojure
- Étoiles
- 326
- Forks
- 18
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Thanks so much for the kaocha, I am really enjoying using it!
Some of my integration tests include the comparison of largish data structures. It can take my eyeballs a while to find the diff between expected and actual in these data structures.
I do sometimes use the search feature in my terminal to search for + and - and that can help and I was thinking focusing only on the differences, as #13 suggests, would help.
But I am also thinking perhaps a different choice of colors might help. I like the choice of colors chosen for differences, but I find that the red can take a while to spot because it is already used in non-diff syntax highlighting.
My initial thoughts are:
- change the red to something else in default syntax highlighting, maybe blue.
- take advantage of background colors to really draw the eye to changes. We might even be able to keep the normal syntax highlighting foreground colors with this scheme.
I am happy to give some color schemes a whirl for review, then a PR with changes, if there is interest in this idea.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Aucun fichier ni test n’est mentionné dans l’issue. Localisez le code qui applique la coloration syntaxique et les couleurs du diff, puis examinez la sortie existante ainsi que les tests associés ; le travail est terminé lorsqu’un traitement des couleurs convenu permet de repérer plus facilement les modifications sans perturber la coloration syntaxique normale.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- clojure
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100