KEMBAR78
Indent on ``match`` and ``case`` Python 3.10 by cdce8p · Pull Request #16104 · microsoft/vscode-python · GitHub
Skip to content

Conversation

@cdce8p
Copy link

@cdce8p cdce8p commented May 1, 2021

Python 3.10 adds pattern matching and the match and case keywords.
Closes: #16100

@kimadeline
Copy link

Hi @cdce8p, thank you for your contribution! Would you mind posting a gif or a video showcasing the behaviour change introduced by your PR?

Thanks again!

@cdce8p
Copy link
Author

cdce8p commented May 2, 2021

@kimadeline No problem. The change itself is quite similar to an older PR: #8938

Screen.Recording.mov

Copy link

@kimadeline kimadeline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

Copy link

@kimadeline kimadeline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding some thanks for yourself 🙂

@kimadeline kimadeline merged commit 62b46b9 into microsoft:main May 3, 2021
@cdce8p cdce8p deleted the indent-match-case branch May 3, 2021 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically indent for match and case clauses

4 participants