Skip to main content



      Home
Home » Newcomers » Newcomers » Highlight Variable(Highlight Variable)
Highlight Variable [message #651832] Tue, 01 February 2011 13:09 Go to next message
Eclipse UserFriend
I have change the eclipse preferences in order to change the look & feel as well the fonts of the java editor.

After modifying the preferences i am not highlight all the variables in in the code snippet/Method. For example in below code if i double click on word "test" it should highlight all the word "test" in the methods but instead of that it only highlights the double clicked "test" word but my editors fails to highlight all the words. However on opening javascript file selecting the "test" word highlights all the refereed "test" word in that code block. Please suggest!!

public static void mySampe() {

String test ="";

test = "abc" + "def"; // my editor does highlight this "test" word

}
Re: Highlight Variable [message #651913 is a reply to message #651832] Tue, 01 February 2011 22:46 Go to previous messageGo to next message
Eclipse UserFriend
On 2/1/2011 11:39 PM, karmabhoomi wrote:
> I have change the eclipse preferences in order to change the look & feel
> as well the fonts of the java editor.
>
> After modifying the preferences i am not highlight all the variables in
> in the code snippet/Method. For example in below code if i double click
> on word "test" it should highlight all the word "test" in the methods
> but instead of that it only highlights the double clicked "test" word
> but my editors fails to highlight all the words. However on opening
> javascript file selecting the "test" word highlights all the refereed
> "test" word in that code block. Please suggest!!
>
> public static void mySampe() {
>
> String test ="";
>
> test = "abc" + "def"; // my editor does highlight this "test" word
>
> }
Window > Preferences => There is filter box on the top left, search for
'mark occurrences' and enable the preference.
Re: Highlight Variable [message #652614 is a reply to message #651913] Fri, 04 February 2011 12:27 Go to previous message
Eclipse UserFriend
Thanks it worked
Previous Topic:Naming the bundles for my project
Next Topic:Problem debugging PHP
Goto Forum:
  


Current Time: Sun Nov 09 18:34:45 EST 2025

Powered by FUDForum. Page generated in 0.08282 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top