如何让IntelliJ CE的Java语法高亮更加丰富多彩?

huangapple go评论84阅读模式
英文:

How can I make IntelliJ CE's Java syntax highlighting more colorful?

问题

IntelliJ CE在语法高亮方面提供的颜色要比Visual Studio Code少得多。除了一些关键词外,IntelliJ中的所有内容都是灰色的,而VSC会用不同的颜色突出显示方法调用、类名、关键字和注释。由于我的视力不好,VSC丰富多彩的高亮功能帮助我编写代码更快。是否有办法:

  1. 将我在VSC中的语法高亮设置导入到IntelliJ CE中?
  2. 获取一个可以对方法、变量、类型和关键字进行不同着色的扩展?
    IntelliJ中的颜色不必与VSC中的颜色完全相同,只要它们不都是灰色的即可。
英文:

IntelliJ CE provides a lot fewer colors in its syntax highlighting than Visual Studio Code. With the exception of a few key words, everything in IntelliJ is grey, while VSC highlights method calls, class names, keywords, and annotations with different colors. Because I have low vision, VSC's colorful highlighting helps me code much faster.
Is there any way to either 1) import my syntax highlighting settings from VSC into IntelliJ CE or 2) get an extension that colors methods, variables, types, and keywords differently?
The colors in IntelliJ don't have to be exactly the same as they were in VSC, as long as they're not all grey.

答案1

得分: 2

IntelliJ提供了许多插件来为您完成这项工作。或者,在设置中,您可以自行定制颜色。我使用Monokai Pro插件,并做了一些自己的修改。

英文:

IntelliJ offers plenty of plugins to do this for you. Alternatively, in Settings, you can customize the colors on your own. I use the Monokai Pro plugin with a few modifications of my own.

答案2

得分: 1

这是我在IntelliJ中使用的插件:https://plugins.jetbrains.com/plugin/10559-gapstyle-color-scheme,也许可以帮助你。

要在IntelliJ中安装新插件,请参考:https://www.jetbrains.com/help/idea/managing-plugins.html

英文:

I use this plugin for intelliJ: https://plugins.jetbrains.com/plugin/10559-gapstyle-color-scheme, maybe could help you.

for install a new plugin in Intellij: https://www.jetbrains.com/help/idea/managing-plugins.html

huangapple
  • 本文由 发表于 2020年7月27日 22:23:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/63117389.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定