keywords outside of libraries

Hi, can i add keywords to my sketch? or are they limited to libraries?

What do you mean by new keywords?

ofir7909:
Hi, can i add keywords to my sketch? or are they limited to libraries?

if you are referring to IDE text highlighting, the answer is here.

jbellavance:
What do you mean by new keywords?

I mean text highlighting.

BulldogLowell:
if you are referring to IDE text highlighting, the answer is here.

I followed this guide to create a class for my sketch, but the keyword part only apply for libraries and not for classes.

If you add a dummy library folder and put a keywords.txt file in it are your keywords coloured ?

Keywords from any library will be coloured in your sketches whether or not you #include the library that defines them.

UKHeliBob:
If you add a dummy library folder and put a keywords.txt file in it are your keywords coloured ?

Keywords from any library will be coloured in your sketches whether or not you #include the library that defines them.

Thank you! still not ideal but does the job.