Skip to content

Syntax Highlighting #211

Closed
Closed
@catarak

Description

@catarak

The editor has cod syntax highlighting, but it is not quite there. I think there are a couple of issues, specifically

  1. The colors/what the colors map to could be adjusted. You can see the current mapping in _p5-light-codemirror-theme.scss, and the corresponding files for the dark/high contrast themes, and this blog post explains how the class names map to significant words.
  2. Adding custom highlighting to p5.js specific words. We discussed having some document with an array of p5.js keywords, or possibly another solution. This was implemented in the desktop editor.

cc @kjhollen @lmccart

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: DesignFor UI/UX design updates, proposals, or feedbackPriority:HighShould be addressed soon but not criticalType:TaskTasks tied specifically to developer operations and maintenance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions