akamud / vscode-theme-onedark

VSCode Theme based on Atom's One Dark theme
MIT License
283 stars 198 forks source link

No support for Python Match Case #155

Open N3X15 opened 1 year ago

N3X15 commented 1 year ago

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

Ref: https://github.com/microsoft/pylance-release/issues/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

Atom Original theme Screenshot

Dark+: image image

VSCode theme Screenshot

image image

Versions used

Extra information

Python 3.10.8 Pylance 2022.10.30