Skip to content
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

no syntax highlighting when library is included #25

Closed
thoschneider opened this issue Oct 2, 2019 · 7 comments
Closed

no syntax highlighting when library is included #25

thoschneider opened this issue Oct 2, 2019 · 7 comments

Comments

@thoschneider
Copy link

Hello!
Unfortunately there is no syntax highlighting when the library is included. I think adding the line "JC_Button Keyword1"
to keywords.txt does the trick.

(As I read "Keyword1" should be used for classes. You named your class "Button", but the name of your libary is "JC_Button". Without adding "JC_Button Keyword1" to keywords.txt there is no syntax highlighting when library is included.)

@JChristensen
Copy link
Owner

Not sure I'm understanding. What specifically is not highlighted? Here is what I see for one of the example sketches:

SimpleOnOff

@thoschneider
Copy link
Author

thoschneider commented Oct 3, 2019 via email

@JChristensen
Copy link
Owner

Hello Thomas,

Your screenshot doesn't seem to be showing for me but it sounds like you are just talking about the #include statement. Adding the line to the keywords file as you suggest should fix that. Look for it in a day or two.

Cheers ... Jack

@thoschneider
Copy link
Author

thoschneider commented Oct 3, 2019 via email

@JChristensen
Copy link
Owner

I'm just curious, you mentioned your students. What level are you teaching at?

@thoschneider
Copy link
Author

thoschneider commented Oct 9, 2019 via email

@JChristensen
Copy link
Owner

Very cool. I've tried that once or twice on a very small scale with friends' kids, but I am not a teacher so I'm not too good at it!

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

No branches or pull requests

2 participants