How to change PyCharm code editor background color

2019-04-18 03:58发布

I would like to change the background color for the PyCharm source code editor. How can I do that?

I am running it under Ubuntu.

标签: pycharm
4条回答
唯我独甜
2楼-- · 2019-04-18 04:15

In PyCharm 2017/2018/2019+ it is:

Settings > Editor > Color Scheme > General

And then simply expand Text, choose Default text and set the background color on the right.

PyCharm

Another tip on the topic: if you want the selected background color to also be used in all tree views(Project, Structure, etc.) you can use the Color IDE plugin.

And if you want ta completely black IDE (great for OLED-displays), instead of Darcula-gray, have a look at the new high contrast theme included in 2018.3: https://blog.jetbrains.com/idea/2018/10/intellij-idea-2018-3-eap-high-contrast-theme-and-more-accessibility-improvements/

查看更多
▲ chillily
3楼-- · 2019-04-18 04:19

Providing @Guoliang's helpful comment as a formal answer, as the accepted answer does not answer the question:

Go to Settings > Editor > Colors & Fonts > General

On the right side, expand Text and select Default text

Modify Background as desired.

查看更多
冷血范
4楼-- · 2019-04-18 04:29

A shortcut to bring up the style menu is CTRL+` (that's the backtick key usually under Esc).

It brings up the Switch menu, with options for Color Scheme and Look and Feel. Switch menus

The Color Scheme setting controls the colors of the main code editor pane. The Look and Feel setting controls the color for the entire interface (including the code editor if the Color Scheme is Default).

查看更多
放荡不羁爱自由
5楼-- · 2019-04-18 04:34

Go to File > Settings > Editor > Color Scheme Under Schemes, select Dracula (it's a dark background). One can select others as well based on your likings.

查看更多
登录 后发表回答