开发者

Eclipse with Java wont display matching variables

Hey guy, I haven't let this get to me till now. My Eclipse used to show me where I used other global and local variables when I clicked on one of them. It doesn't anymore. I looked at General>Appearance>Colors and Fonts. In the Java folder I find something that looks like what I want. It's the Colored Labels - match highlight. The description says: The background color used to highlight matches when colored labels in Java views are enabled. I looked for that in the Java> How that's so weird I can't find it again as I'm writing this message. Anyway I guess that's what I'm looking for. Enabling the colored labels 开发者_Go百科in Java. Where is that?


To access to your variable location: you have to click on your variable and maintain the "ctrl" hitted. for color: right click in your java class, go to "open with" then select java editor, if the color's problem persist go to Windows>preferences>Java>Editor ther click "restore default" or specify your editor, then click ok. Hope that my intervention helps you.


I tried window -> preferences -> java -> editor -> mark occurrences -> and selected all options.

Now it works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜