一、点击某一代码时,让相同代码高亮显示(Eclipse默认是这样的)

 

Window ->preferences ->Java ->Editor ->Mark Occurrences 


勾选复选框 Mark occurrences of the selected element in the current file

 

二、改变高亮颜色


Window -> preferences -> General -> Editors -> Text Editors -> Annotations

右边列表选择Occurrences,点击Color设置高亮背景颜色。

相关文章:

  • 2021-11-15
  • 2021-08-14
  • 2021-08-04
  • 2021-12-29
  • 2021-11-21
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-07-28
  • 2021-11-10
相关资源
相似解决方案