AtomMaterialUI / material-theme-ui-lite

Material Theme Plugin for JetBrains IDEs (Lite version)
https://www.material-theme.com
MIT License
48 stars 9 forks source link

PythonRexExp lost highlight in pycharm #161

Closed trim21 closed 1 year ago

trim21 commented 1 year ago

Describe the bug

regexp file have highlight, but inline code fragment re.compile('...') doesn't have highlight,

image

image

And I'm sure this string is consider as PythonRexExp, not plain text, because it has hightlight when I switch to monokai

image

image

in seprated editing view, it get highlight in the first place, then it become gray again

image

To Reproduce

  1. install latest pycharm
  2. install plugin
  3. change Editor/Color Scheme to Material Darker
  4. create a new python project
  5. create a new python file (.py)
  6. paste this as file content:
import re

pattern = re.compile(r"((?P<d>\d+)日)?((?P<h>\d+)時)?((?P<m>\d+)分)?")

Expected Behavior inline regexp should have highlight

Environment

Screenshots