Ask Your Question
1

why the match statement has no syntax highlight?

asked 2022-04-12 15:37:18 -0500

steve1964's avatar

updated 2022-05-05 09:26:40 -0500

It seems there is no syntax highlight in Wing editor for the new match statement while Python 3.10.x seems working fine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-04-12 16:27:10 -0500

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2022-04-12 15:37:18 -0500

Seen: 39 times

Last updated: Apr 18