java - 更改 IDEA 代码完成窗口中的字体颜色

标签 java android intellij-idea

我想知道,如何在 IntelliJ IDEA 中更改代码完成窗口中的字体颜色?默认字体是灰色的,尽管在应用程序设置中更改了几乎所有字体颜色,但我仍然坚持使用灰色(很难阅读)。

我说的是这个窗口:IDEA's statement-completion font colour

有谁知道如何将此语句完成字体颜色更改为黑色?

谢谢。

最佳答案

启用 Insert selected variant by typing dot, space, etc. 选项以获取旧行为。

Settings dialog

Check this discussion了解更多详情:

The purpose is to disable selection by dot/space/etc by default and to be able to distinguish this mode visually.

...

If you love dots and spaces, you can return to the old mode via Settings | Editor | Code completion.

There seems to be a need to distinguish the modes because you might want to choose a non-first item, or to choose the first one by typing some non-orthodox symbol (e.g. exclamation mark). In this case, you press Up/Down to navigate in the list and after that there seems to be no reason for space or exclamation mark not to select the current item. Having two modes which behave differently but look exactly the same doesn't seem like a great idea to me from the perspective of user interaction design.

关于java - 更改 IDEA 代码完成窗口中的字体颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17283638/

相关文章:

Android - 这有可能获得 Android 设备的系统配置吗?

android - Xamarin.Android - Java 绑定(bind)取决于 Google Play 服务

maven - 通过 Maven 运行时,Spring Profile 在 Logback 中不可用

java - 将项目添加到 ArrayList 时遇到问题

java - 使用APDU命令获取卡的一些信息

android - U-boot:双启动 + 虚拟内核 + 修改后的启动图像

java - 带有 Spark 的 NoClassDefFoundError

java - 如何使用 IntelliJ IDEA 删除 javadoc

java - OpenNLP 的解析器标签

java - 收到错误 "java.lang.StackOverflowError: stack size 1036KB"和 OutOfMemory