sparkfun / SparkFun_ADS1015_Arduino_Library

Library for Qwiic_Flex_Glove_Controller
https://www.sparkfun.com/
Other
6 stars 4 forks source link

Correct formatting of keywords.txt #1

Closed per1234 closed 2 years ago

per1234 commented 6 years ago

Each field of keywords.txt is separated by a single true tab. When you use multiple tabs it causes the field to be interpreted as empty. On Arduino IDE 1.6.5 and newer an empty KEYWORD_TOKENTYPE causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special highlighting.

Some of the keywords identifiers were incorrectly spelled "KEYW0RDS" (with a zero) rather than "KEYWORDS" (with the letter o).

The keyword identifier for the readRegister16 keyword definition was missing, causing it to not be highlighted by the Arduino IDE.

Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords

lewispg228 commented 6 years ago

Hey @per1234 , Thanks for correcting this. Much appreciated!

PaulZC commented 2 years ago

Hi @per1234 ,

Thanks again for reporting this. This has been fixed in v2.3.1 - after only four years!! ;-)

Very best wishes, Paul