-
Notifications
You must be signed in to change notification settings - Fork 282
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
[FIX] Highlight unterminated quoted strings differently than correctly terminated quoted strings. #4165
Conversation
Thanks @antoineveldhoven!! This highlighting for level 4 for sure is better than what we have now! But I am not sure I like the "heavy" highlighting in the higher levels. It is not bad in itself, but it is a bit out of tone maybe with what we have for other errors. Shall we do it in steps and first highlight unterminated strings in white in all levels? Then we can experiment with the pink later on separately (I would love to test drive it in class for a bit) |
Ow yes and the highlighting has tests that are now broken, do let us know if you need help to fix them! |
First time commiter here 🙋♂️ 🤦♂️ |
No problemo! That was actually why the tests did not run (first timers have to be manually approved). Do reach out if we can help (here or in Discord) |
2777ba8
to
97292d6
Compare
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
009eb19
to
5e31c7a
Compare
Thnx for the review; I've updated this PR, can you have another look, assuming the tests run fine this time 😜 |
Let's see ;) I will also send you an invite to the repo, that way your PRs will run the tests automatically! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @antoineveldhoven, all good now!
And congrats on getting your first PR approved!!! 🥳
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
thnx, also for the fix in the print test! |
I have also opened a Discussion for your other idea: #4169 Will ask a few teachers to chip in with their opinion! |
Description
For educational purposes (the essence of Level 4) do not highlight incorrect termination of quotations.
Fixes #3768
How to test
Level 4 and above
Checklist
Done? Check if you have it all in place using this list:*