简体   繁体   English

pycharm上的颜色没有变化

[英]colors not changing on pycharm

Installed PyCharm 2016.2. 已安装PyCharm 2016.2。 Playing with the color schemes. 玩配色方案。 I've noticed some colors are not the same from what I remember on previous PC. 我注意到一些颜色与我之前在PC上记得的颜色不一样。 在此输入图像描述

I remember all the parameters to be types of oranges, while strings to be yellow or green. 我记得所有参数都是橘子的类型,而字符串是黄色或绿色。 After playing with all the schemes, I realized that although most of the colors change, those remain the same. 在玩完所有方案之后,我意识到尽管大多数颜色都在变化,但它们仍然是相同的。

Twilight 在此输入图像描述

Default 默认 在此输入图像描述

Github Github上 在此输入图像描述

I even played with custom schemes and tried to change it on the General and specific language setting but nothing seems to work. 我甚至玩过自定义方案并尝试在常规和特定语言设置上进行更改但似乎没有任何效果。

Had the same issue, but had two projects running side by side, one yellow, other dark cyan, as in your case. 有同样的问题,但有两个项目并排运行,一个黄色,其他深青色,如你的情况。 The only difference was Python 2 vs Python 3... 唯一的区别是Python 2与Python 3 ...

Solution: 解:

  1. Settings -> Editor -> Colors & Fonts -> Python 设置 - >编辑器 - >颜色和字体 - > Python
  2. Then choose "String (bytes)" and "String (Unicode)" - defaults are of different color! 然后选择“字符串(字节)”和“字符串(Unicode)” - 默认值是不同的颜色!

There are two settings for colors: 颜色有两种设置:

  • One in Settings > Appearance & Behavior > Appearance > Theme (the one you seem to change) Settings > Appearance & Behavior > Appearance > Theme的一个(您似乎更改的那个)
  • One in Settings > Editor > Colors & Fonts , which seems to be the one you're looking for. Settings > Editor > Colors & Fonts中的一个,似乎是您正在寻找的那个。

From your description, i'd guess you're looking for the 'Darcula' scheme. 根据你的描述,我猜你正在寻找'Darcula'计划。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM