1- # LITERAL1 specifies constants
1+ #FUNCTIONS COLOR #D35400 - ORANGE KEYWORD1
2+ #FUNCTIONS COLOR #D35400 - ORANGE KEYWORD2
3+ #STRUCTURE COLORS #728E00 - GREEN KEYWORD3
4+ #VARIABLES COLOR #00979C - BLUE LITERAL2
25
3- HIGH LITERAL1 Constants
4- LOW LITERAL1 Constants
5- INPUT LITERAL1 Constants
6- INPUT_PULLUP LITERAL1 Constants
7- OUTPUT LITERAL1 Constants
8- DEC LITERAL1 Serial_Print
9- BIN LITERAL1 Serial_Print
10- HEX LITERAL1 Serial_Print
11- OCT LITERAL1 Serial_Print
12- PI LITERAL1
13- HALF_PI LITERAL1
14- TWO_PI LITERAL1
15- LSBFIRST LITERAL1 ShiftOut
16- MSBFIRST LITERAL1 ShiftOut
17- CHANGE LITERAL1 AttachInterrupt
18- FALLING LITERAL1 AttachInterrupt
19- RISING LITERAL1 AttachInterrupt
20- DEFAULT LITERAL1 AnalogReference
21- EXTERNAL LITERAL1 AnalogReference
22- INTERNAL LITERAL1 AnalogReference
23- INTERNAL1V1 LITERAL1 AnalogReference
24- INTERNAL2V56 LITERAL1 AnalogReference
6+ # LITERAL2 specifies constants
257
26- # KEYWORD1 specifies datatypes and C/C++ keywords
8+ HIGH LITERAL2 Constants
9+ LOW LITERAL2 Constants
10+ INPUT LITERAL2 Constants
11+ INPUT_PULLUP LITERAL2 Constants
12+ OUTPUT LITERAL2 Constants
13+ DEC LITERAL2 Serial_Print
14+ BIN LITERAL2 Serial_Print
15+ HEX LITERAL2 Serial_Print
16+ OCT LITERAL2 Serial_Print
17+ PI LITERAL2
18+ HALF_PI LITERAL2
19+ TWO_PI LITERAL2
20+ LSBFIRST LITERAL2 ShiftOut
21+ MSBFIRST LITERAL2 ShiftOut
22+ CHANGE LITERAL2 AttachInterrupt
23+ FALLING LITERAL2 AttachInterrupt
24+ RISING LITERAL2 AttachInterrupt
25+ DEFAULT LITERAL2 AnalogReference
26+ EXTERNAL LITERAL2 AnalogReference
27+ INTERNAL LITERAL2 AnalogReference
28+ INTERNAL1V1 LITERAL2 AnalogReference
29+ INTERNAL2V56 LITERAL2 AnalogReference
2730
28- boolean KEYWORD1 BooleanVariables
29- break KEYWORD1 Break
30- byte KEYWORD1 Byte
31- case KEYWORD1 SwitchCase
32- char KEYWORD1 Char
33- class KEYWORD1
34- const KEYWORD1 Const
35- continue KEYWORD1 Continue
36- default KEYWORD1 SwitchCase
37- do KEYWORD1 DoWhile
38- double KEYWORD1 Double
39- else KEYWORD1 Else
40- false KEYWORD1 Constants
41- float KEYWORD1 Float
42- for KEYWORD1 For
43- if KEYWORD1 If
44- int KEYWORD1 Int
45- long KEYWORD1 Long
46- new KEYWORD1
47- null KEYWORD1
48- private KEYWORD1
49- protected KEYWORD1
50- public KEYWORD1
51- register KEYWORD1
52- return KEYWORD1 Return
53- short KEYWORD1
54- signed KEYWORD1
55- static KEYWORD1 Static
56- String KEYWORD1 String
57- switch KEYWORD1 SwitchCase
58- this KEYWORD1
59- throw KEYWORD1
60- try KEYWORD1
61- true KEYWORD1
62- unsigned KEYWORD1
63- void KEYWORD1 Void
64- while KEYWORD1 While
65- word KEYWORD1 Word
31+ boolean LITERAL2 BooleanVariables
32+ byte LITERAL2 Byte
33+ const LITERAL2 Const
34+ false LITERAL2 Constants
35+ float LITERAL2 Float
36+ null LITERAL2
37+ int LITERAL2 Int
38+ long LITERAL2 Long
39+ new LITERAL2
40+ private LITERAL2
41+ protected LITERAL2
42+ public LITERAL2
43+ short LITERAL2
44+ signed LITERAL2
45+ static LITERAL2 Static
46+ String LITERAL2 String
47+ void LITERAL2 Void
48+ true LITERAL2
49+ unsigned LITERAL2
6650
67- # operators aren't highlighted, but may have documentation
68-
69- += IncrementCompound
70- + Arithmetic
71- [] arrayaccess
72- = assign
73- & BitwiseAnd
74- | BitwiseAnd
75- ,
76- // Comments
77- ?:
78- {} Braces
79- -- Increment
80- / Arithmetic
81- /* Comments
82- . dot
83- ==
84- < greaterthan
85- <= greaterthanorequalto
86- ++ Increment
87- != inequality
88- << Bitshift
89- < lessthan
90- <= lessthanorequalto
91- && Boolean
92- ! Boolean
93- || Boolean
94- - Arithmetic
95- % Modulo
96- * Arithmetic
97- () parentheses
98- >> Bitshift
99- ; SemiColon
100- -= IncrementCompound
101-
102- # these are datatypes, but we've also defined functions to cast to them
103-
104- boolean KEYWORD2 boolean_
105- byte KEYWORD2 byte_
106- char KEYWORD2 char_
107- float KEYWORD2 float_
108- int KEYWORD2 int_
109- long KEYWORD2 long_
110- word KEYWORD2 word_
51+ boolean LITERAL2 boolean_
52+ byte LITERAL2 byte_
53+ char LITERAL2 char_
54+ float LITERAL2 float_
55+ int LITERAL2 int_
56+ long LITERAL2 long_
57+ word LITERAL2 word_
11158
11259# KEYWORD2 specifies methods and functions
11360
@@ -165,11 +112,11 @@ shiftOut KEYWORD2 ShiftOut
165112tone KEYWORD2 Tone
166113yield KEYWORD2 Yield
167114
168- Serial KEYWORD3 Serial
169- Serial1 KEYWORD3 Serial
170- Serial2 KEYWORD3 Serial
171- Serial3 KEYWORD3 Serial
172- SerialUSB KEYWORD3 Serial
115+ Serial KEYWORD1 Serial
116+ Serial1 KEYWORD1 Serial
117+ Serial2 KEYWORD1 Serial
118+ Serial3 KEYWORD1 Serial
119+ SerialUSB KEYWORD1 Serial
173120begin KEYWORD2 Serial_Begin
174121end KEYWORD2 Serial_End
175122peek KEYWORD2 Serial_Peek
@@ -208,10 +155,8 @@ substring KEYWORD2
208155toCharArray KEYWORD2
209156toInt KEYWORD2
210157
211- # USB-related keywords
212-
213- Keyboard KEYWORD3
214- Mouse KEYWORD3
158+ Keyboard KEYWORD1
159+ Mouse KEYWORD1
215160press KEYWORD2
216161release KEYWORD2
217162releaseAll KEYWORD2
@@ -220,5 +165,63 @@ click KEYWORD2
220165move KEYWORD2
221166isPressed KEYWORD2
222167
168+ # KEYWORD3 specifies structures
169+
170+ break KEYWORD3 Break
171+ case KEYWORD3 SwitchCase
172+ char KEYWORD3 Char
173+ class KEYWORD3
174+ continue KEYWORD3 Continue
175+ default KEYWORD3 SwitchCase
176+ do KEYWORD3 DoWhile
177+ double KEYWORD3 Double
178+ else KEYWORD3 Else
179+ for KEYWORD3 For
180+ if KEYWORD3 If
181+ register KEYWORD3
182+ return KEYWORD3 Return
183+
184+ switch KEYWORD3 SwitchCase
185+ this KEYWORD3
186+ throw KEYWORD3
187+ try KEYWORD3
188+ while KEYWORD3 While
189+ word KEYWORD3 Word
190+
223191setup KEYWORD3 Setup
224192loop KEYWORD3 Loop
193+
194+ # operators aren't highlighted, but may have documentation
195+
196+ += IncrementCompound
197+ + Arithmetic
198+ [] arrayaccess
199+ = assign
200+ & BitwiseAnd
201+ | BitwiseAnd
202+ ,
203+ // Comments
204+ ?:
205+ {} Braces
206+ -- Increment
207+ / Arithmetic
208+ /* Comments
209+ . dot
210+ ==
211+ < greaterthan
212+ <= greaterthanorequalto
213+ ++ Increment
214+ != inequality
215+ << Bitshift
216+ < lessthan
217+ <= lessthanorequalto
218+ && Boolean
219+ ! Boolean
220+ || Boolean
221+ - Arithmetic
222+ % Modulo
223+ * Arithmetic
224+ () parentheses
225+ >> Bitshift
226+ ; SemiColon
227+ -= IncrementCompound
0 commit comments