如何更改变量名称颜色? [英] How to change variable name color?

查看:63
本文介绍了如何更改变量名称颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

class Foo:
    def __init__(self):
        byte_string = 'newline:\n also newline:\x0a'

在 PyCharm 中,如何更改上例中byte_string"等变量的颜色?我在颜色设置的Python"部分看不到任何可以更改此设置的地方.

In PyCharm, how do I change the color of variables like "byte_string" in the example above? I don't see any place to change this in the "Python" section of the color settings.

推荐答案

难以置信但事实如此,Pycharm 工作人员回答我无法设置自定义可变颜色.请大家投票:https://youtrack.jetbrains.com/issue/PY-8246

Unbelievable but true, I was answered by Pycharm staff that it is NOT possible to set custom variable color. Please all vote on: https://youtrack.jetbrains.com/issue/PY-8246

这篇关于如何更改变量名称颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆