Monokai / monokai-pro-vscode

Issue tracking for Monokai Pro for Visual Studio Code
321 stars 8 forks source link

Python match case support #321

Closed meghiaws closed 6 months ago

meghiaws commented 1 year ago

Colorizing doesn't apply to python match case.

image

Monokai commented 1 year ago

Unfortunately these keywords don't have a scope defined in the Python syntax definitions of VSCode, so themes cannot color them. It's up to VSCode to update its syntax definition.

apsyhea commented 1 year ago

К сожалению, эти ключевые слова не имеют области, определенной в определениях синтаксиса Python VSCode, поэтому темы не могут их окрашивать. VSCode должен обновить определение синтаксиса. Theme VS Code dark: image Theme Github dark: image

Monokai commented 6 months ago

Turned out I had the MagicPython extension installed, which is already the default Python highlighter in VSCode. They recommend to uninstall the MagicPython extension, which solved the issue in my case.