PyCharm CE和Android Studio中的纯黑色背景 [英] Pure black background in PyCharm CE and Android Studio

查看:90
本文介绍了PyCharm CE和Android Studio中的纯黑色背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然我在Emacs上搜索Python调试器的过程仍然未实现,我正在为PyCharm CE进行试驾.

While my search for a Python debugger on Emacs remains unfulfilled, I am giving PyCharm CE a test drive.

第二天,我遇到了一个琐碎但令人沮丧的问题.是否可以仅在一个地方将背景设置为黑色?

Already on my second day I'm encountering a trivial but frustrating point. Is it possible to set the background to be pitch black in just one place?

由程序员为程序员编写的程序当然应该包含一个功能,例如将文档字符串,注释,关键字的背景……整个shebang更改为黑色",但我看不到.

A program written by programmers for programmers should certainly have included a feature such as "change the background for Docstrings, Comments, Keywords, ... the whole shebang" to black, but I don't see it.

我当然知道UI的某些部分会顽固地拒绝更改,并且我同意,只要Python代码本身出现在纯黑色背景上即可.

I understand of course that some parts of the UI will stubbornly refuse to change, and I'm OK with that, just so long as the Python code itself appears on a pure black background.

暮光之城和Mokokai主题很接近,但是它们的背景仍然留有足够的对比空间",可以通过加深背景颜色来使用它.

The Twilight and Mokokai themes come close, but their backgrounds still leave ample "contrast room" that could be used by darkening the background color.

(我们如何从左到右...错误..我的意思是..我们怎么会比现在更暗..嗯,等等...右边的版本在眼前不是那么容易吗. .但是无论如何,我们该怎么做?)

(How do we get from left to right... err.. I mean.. how do we get darker than we are.. um, wait... Isn't the version on the right so much easier on the eye.. but anyway, how can we do it?)

更新

完全相同的问题和解决方案也适用于Android Studio.

The exact same problem and solution apply to Android Studio.

推荐答案

File> Settings:

转到Editor> Colors & Fonts> General

选择要修改的主题(由于您无法修改默认的配色方案,可能需要Save As...您自己的主题.

Choose the theme you want to modify (will likely need to Save As... your own as you can't modify the default color schemes.

转到Text> Default Text颜色,然后将背景更改为黑色.唯一不会受到影响的是定义自己背景(通常是select/highlight/errors/etc)的语法高亮显示.

Go to the Text > Default Text colors and change the background to black. The only ones that won't be affected are the syntax highlighters that define their own background (usually select/highlight/errors/etc.)

这篇关于PyCharm CE和Android Studio中的纯黑色背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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