开发者

Eclipse syntax coloring makes my code illegible

开发者 https://www.devze.com 2023-02-08 05:25 出处:网络
What exactly is Eclipse doing here to the symbol CreateDefaultSource? If I single-click a symbol and hover over it for a short while, it shades the background to an illegible light-grey. Clicking o

What exactly is Eclipse doing here to the symbol CreateDefaultSource?

Eclipse syntax coloring makes my code illegible

If I single-click a symbol and hover over it for a short while, it shades the background to an illegible light-grey. Clicking off of the symbol doesn't immediately cause it to go away.

I'm using the Color Theme plugin to provide syntax coloring. I though开发者_StackOverflow社区t perhaps this was the "Content Assist" background color, but I've changed that under the general prefs and I'm still getting this.

And perhaps a slightly more egregious example:

Eclipse syntax coloring makes my code illegible


You can disable this behaviour: in Preferences search for Mark occurences. You will find some sections, each one for a programming language (Java, Javascript, Python,..). Uncheck this option:

Keep marks when the selection changes


Thanks to bluish's hint, I found the appropriate settings to modify these colors:

  • For references: Preferences > General > Editors > Text Editors > Annotations > PHP elements 'read' occurrences
  • For assignment lvalues: Preferences > General > Editors > Text Editors > Annotations > PHP elements 'write' occurrences
0

精彩评论

暂无评论...
验证码 换一张
取 消