开发者

Unable to highlight text/variable in eclipse [duplicate]

This question already has answers here: Eclipse does not highlight matching variables (18 answers) Closed 8 years ago.

My Eclipse IDE wouldn't highlight similar text/variable in Java code, till yesterday it was working fine. Today if I click on a variable inside a class it would not highlight same variable present elsewhere in class. 开发者_StackOverflow中文版Should I enable any thing in IDE?


Please check

  1. 'Toggle Mark Occurrences' enabled (It is in the tool bar or use shortcut Alt + Shift + O).

  2. Checks the preference. Go to 'Preference' then navigate to 'General --> Editor --> Text Editors --> Annotations --> Occurrences'.


I found the answer, I had to toggle mark occurrences alt+shift+o. If any one faces this issue you can try this to fix it.


Make sure Preference - > Annotations - Occurrences Text as checkbox list value should have selected Highlighted.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜