Use correct separator in keywords.txt#2
Use correct separator in keywords.txt#2Floessie merged 1 commit intoFloessie:masterfrom per1234:keywords-separ
Conversation
The Arduino IDE currently requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
|
Hi Per,
Thanks for the pointer. I'll definitely integrate your PR. The statement above isn't completely true, tough: This is the "requirement" in the link you provided (highlighted by me):
It's just a should...
This is definitely not true, at least with Arduino IDE 1.8.5 under Linux. Best, |
|
You're right! 😳 I was fooled by other Thanks, |
|
Glad everything is cleared up now. I have updated the wording of the library specification. Note that in some future Arduino IDE release (probably 1.9.0), the tab requirement will be relaxed. I will update the specification at that time. However, it's not clear how far off that release is and (if history is any indication) people will still be using previous IDE versions for years after, especially since the new sketch preprocessor is likely to cause some breakage in the first releases. |
|
Absolutely. Thanks for the rewording. 👍 Best, |


The Arduino IDE currently requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted.
Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords