No special syntax highlighting for common identifiers
- Lenguaje dominante
- Haskell
- Estrellas
- 1.3k
- Forks
- 201
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
This is a bit of a bikeshed issue, but I’d like to raise it anyways. Feel free to close without much discussion if you disagree.
Currently, CodeWorld syntax highlighting highlights names that happen to be defined in the prelude library (`Double`, `True`) different that names from other libraries (`Event`, `Picture`) or custom-defined things. Similar for function (e.g. `id`).
I generally disapprove of this approach, as it hides the fact that even the Prelude is just a library, and that `Double` and `Event` are both types of their own right. The difference between the two is not worth this distinction, and the type of, say `interactionOf`, looks bad with these types printed differently.
Also, the `Prelude` changes over time, making this highlighting inconsistent.
I’d like to see no special highlighting of predefined identifiers.
Guía de contribución
Línea de trabajo
Comience localizando el punto de entrada del resaltado de sintaxis de CodeWorld y la lógica que distingue los identificadores de Prelude de los nombres proporcionados por otras bibliotecas o por el código del usuario. Elimine el resaltado especial de los identificadores predefinidos y compruebe después que los tipos y las funciones como Double, True, Event, Picture e id reciben el mismo tratamiento que los demás identificadores.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- haskell
- Área
- frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100