Processing Syntax Rules

edited September 2014 in General Discussion

Does anybody know where I might be able to find Processing's rules for its syntax highlighting? Is it a separate file somewhere or is it hardcoded into the IDE?

The reason I am asking is that I would like to use it as a basis for a custom syntax definition in Sublime Text 3.

Answers

  • Answer ✓

    I believe it is hardcoded in the IDE. Now, you can generally use a simple Java scheme, and enrich it with rules for #FDAD33 colors and similar, and of course the Processing "keywords" (method and variable names).
    There is a text file in the Processing install folder having a list of these names.

Sign In or Register to comment.