why the match statement has no syntax highlight?
It seems there is no syntax highlight in Wing editor for the new match statement while Python 3.10.x seems working fine.
It seems there is no syntax highlight in Wing editor for the new match statement while Python 3.10.x seems working fine.
The match and case symbols are not currently highlighted because they are soft keywords -- they are keywords when used in match and case statements, but are perfectly valid variable / function / class names and will continue to be valid variable names in future Python versions. We plan to add support for highlighting match and case as keywords where appropriate and as other symbol types where appropriate in a future version of Wing.
To enter a block of code:
Comments