Skip to content

Highlighting doesn't pick up built-in functions/variables #51

@lachlansleight

Description

@lachlansleight

Presently processing-specific variables like width, height, frameRate, PI etc. aren't highlighted (and neither are built-in functions like setup(), keyPressed() etc), which can be confusing to beginners (I'm currently teaching someone to code using Processing so I've been thinking a lot about this kind of stuff lately).

Here's a comparison image (Processing editor on top, VSCode on bottom - note setup(), width and PI):
highlightcomparison

I have no idea how .tmlanguage files work but I would imagine it could be as simple as manually adding them to the dictionary somehow?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions