-
Notifications
You must be signed in to change notification settings - Fork 769
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
Syntax highlighting for match
and case
#1215
Comments
Thanks for the report; at the moment we rely on the TextMate profile built into VS Code to display these kinds of keywords. I'm surprised they haven't been added there, but I do think we should be emitting keywords as tokens in the semantic highlighter as well. |
After searching a bit more, I found these two existing issues: I've also opened a PR MagicStack/MagicPython#237 to recognize |
@jakebailey That's great! Thanks 🚀 |
This issue has been fixed in version 2021.5.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202150-5-may-2021 |
For people using |
@scarf005, this issue has been closed for a long time. Please open a new issue for your suggestion. |
alright, referenced in new issue. |
It would be nice if syntax highlighting for
match
andcase
could be added.The text was updated successfully, but these errors were encountered: