Skip to content
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

No support for Python Match Case #155

Open
N3X15 opened this issue Oct 25, 2022 · 0 comments
Open

No support for Python Match Case #155

N3X15 opened this issue Oct 25, 2022 · 0 comments

Comments

@N3X15
Copy link

N3X15 commented Oct 25, 2022

This theme does not support Python 3.10 match/case statements.

Ref: microsoft/pylance-release#3223

Sample code

a='c'
match a:
  case 'a':
    print('is a')
  case 'b' | 'c':
    print('is b or c')
  case _:
    print('rats')

Filename and Language selected

  • Filename: test.py
  • Language: Python
  • Language Server: Default (Pylance)

Atom Original theme Screenshot

Dark+:
image
image

VSCode theme Screenshot

image
image

Versions used

  • VSCode version: 1.72.2
  • Theme version: 2.3.0

Extra information

Python 3.10.8
Pylance 2022.10.30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants