Skip to content

Fix problems with keywords.txt#9

Open
per1234 wants to merge 2 commits into
interactive-matter:masterfrom
per1234:invalid-keyword_tokentype
Open

Fix problems with keywords.txt#9
per1234 wants to merge 2 commits into
interactive-matter:masterfrom
per1234:invalid-keyword_tokentype

Conversation

@per1234

@per1234 per1234 commented Jul 14, 2018

Copy link
Copy Markdown
  • Correct invalid keywords.txt KEYWORD_TOKENTYPE.
  • Use a single tab field separator.

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

per1234 added 2 commits July 14, 2018 07:02
Use of an invalid KEYWORD_TOKENTYPE value in keywords.txt causes the keyword to be colored by the default editor.function.style (as used by KEYWORD2, KEYWORD3, LITERAL2) in Arduino IDE 1.6.5 and newer. On Arduino IDE 1.6.4 and older this will cause the keyword to not be recognized for any special coloration.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keyword_tokentype
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 coloration to be used (as with KEYWORD2, KEYWORD3, LITERAL2). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special coloration.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
thinkyhead added a commit to MarlinFirmware/TMC26XStepper that referenced this pull request Mar 27, 2022
interactive-matter#9

Co-Authored-By: per1234 <8572152+per1234@users.noreply.github.com>
thinkyhead added a commit to MarlinFirmware/TMC26XStepper that referenced this pull request Mar 27, 2022
interactive-matter#9

Co-Authored-By: per1234 <8572152+per1234@users.noreply.github.com>
CodeInfrastructure23 added a commit to CodeInfrastructure23/TMC26XStepper that referenced this pull request Oct 2, 2025
interactive-matter/TMC26XStepper#9

Co-Authored-By: per1234 <8572152+per1234@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant