Skip to content

Add keywords.txt #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 1, 2018
Merged

Add keywords.txt #346

merged 2 commits into from
Oct 1, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Oct 1, 2018

First version of the keywords.txt.
It is not exhaustive.

Fix #273

First version of the keywords.txt.
It is not exhaustive.

Fix stm32duino#273

Signed-off-by: Frederic.Pillon <[email protected]>
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.

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

Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm merged commit dec0bff into stm32duino:master Oct 1, 2018
@fpistm fpistm deleted the keywords branch October 1, 2018 15:38
@fpistm fpistm added this to the 1.3.1 milestone Oct 1, 2018
@fpistm fpistm self-assigned this Oct 1, 2018
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant