First time here? Check out the FAQ!
1

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.

steve1964's avatar
114
steve1964
asked 2022-04-12 15:37:18 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2022-05-05 09:26:40 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2022-04-12 16:27:10 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer