Skip to content

No support for Python Match Case #155

Open
@N3X15

Description

@N3X15

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions