eclipse - How to change highlight color for Checkstyle warnings in Eclipse?
问题描述
In Eclipse Checkstyle is throwing a warning for a method that has not JavaDoc comment. This is fine, but I have a dark theme and the text is being highlighted with a bright yellow that looks horrendous and makes the text very hard to read. Where do I change this highlighting color?
解决方案
Under Window -> Preferences, go to General -> Editors -> Text Editors -> Annotations. There you can select "Checkstyle warning" from the list and change the color to a darker one that hurts the eyes less.
Source: https://sourceforge.net/p/eclipse-cs/discussion/274376/thread/888a621f/
推荐阅读
- android - Firebase 和更新 google-services 插件的版本
- python - Shell keeps restarting while using a more complicated nmap command in subprocess in a PYQT5 GUI
- python - 无法安装 TensorFlow Mac
- python - 使用 tf.keras 的 tf.data.Dataset 性能
- android - 当值取自先前的活动时,如何在 TextView 中打印字符串
- sprite-kit - 游戏结束后从 GameScene 更改为 UIViewController
- laravel-5 - 与 laravel 的交付跟踪 api 集成
- laravel - 如何通过 Laravel Dusk 或 WebDriverBy 选择所选元素的下一个 td 标签
- html - 输入类型=带有最小值和最大值的文本模式数字
- rxjs - 合并运算符的 Rxj 错误