Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Highlight Variable(Highlight Variable)
Highlight Variable [message #651832] Tue, 01 February 2011 18:09 Go to next message
karmabhoomi  is currently offline karmabhoomi Friend
Messages: 2
Registered: February 2011
Junior Member
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] Wed, 02 February 2011 03:46 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
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 17:27 Go to previous message
karmabhoomi  is currently offline karmabhoomi Friend
Messages: 2
Registered: February 2011
Junior Member
Thanks it worked
Previous Topic:Naming the bundles for my project
Next Topic:Problem debugging PHP
Goto Forum:
  


Current Time: Thu Apr 25 09:46:01 GMT 2024

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

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

Back to the top