Skip to content

Change the colour of PREPROCESSOR words (Suggestion) #3480

Closed
@ReeceM

Description

@ReeceM

I was wondering if it would be okay to change the colour of preprocessors to the way C++ or othe IDEs colour them eg.

#define xyz
#include <xyz.h>

I thought this would be better as it makes them more distinguishable from other things as the straight black colour to them just seems ugly and it looks like other code when it is mixed up around other variables(although you wouldn't have stuff clumped together):

2015-07-08 14_07_13-sketch_jul08a _ arduino 1 6 6 hourly build 2015_07_07 09_41

Compared to this:
2015-07-08 14_04_11-sketch_jul08a _ arduino 1 6 6 hourly build 2015_07_07 09_41

I edited the theme.xml PREPROCESSOR style token and put a new value in for fg, very simple though.

<style token="PREPROCESSOR" fg="9a4e00" bold="false"/>

A link to the color charts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions