V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Trim21
V2EX  ›  Python

pycharm 的 re.compile 正则语法高亮对应的是哪几个选项?

  •  
  •   Trim21 ·
    Trim21 · 227 天前 · 1813 次点击
    这是一个创建于 227 天前的主题,其中的信息可能已经有所发展或是发生改变。
    之前一直用的是 https://plugins.jetbrains.com/plugin/12124-material-theme-ui-lite 这个插件提供的 Material Darker 配色方案。今天换成 Monokai 之后才发现这个配色方案的 `re.compile` 没有高亮。

    尝试修改了一些配色方案的选项,在 monokai 配色方案时修改 editor/color scheme/regexp 的选项的确可以影响这里的高亮颜色,但是使用 Material Darker 这个配色方案时这些选项却完全无效,无论怎么设置都只剩灰色。

    但是如果我单独创建一个`*.regexp` 文件,这个文件的内容是可以作为正则正常进行语法高亮的。


    不知道有没有 v 友遇到过类似的情况?

    Material Darker:



    monokai:



    仅仅更换了编辑器的配色方案,没有修改任何其他选项

    (这里说的是配色方案,仅在编辑器内起作用,不是会整个 ide 的主题选项)
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2715 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:53 · PVG 18:53 · LAX 03:53 · JFK 06:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.