Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Does eclipse has a feature of auto usage finder on selecting a part of code ?
Does eclipse has a feature of auto usage finder on selecting a part of code ? [message #549463] Mon, 26 July 2010 13:12 Go to next message
Eclipse UserFriend
Hi all,

I am new to eclipse shifted from netbeans. Does eclipse has a feature f auto usage finder on selecting a part of code ?

Say I create a simple java file helloWorld.java.
In that i create and use variable int abc 10 times.

What I want is As soon I click or select the variable abc in the code it other multiple usages should be highlited by some fill color and it should also be shown in side column bar as it does for showing error messages

I dont want to click CTLR+F for doing this.
This feature is there in netbeans.

I hope u understand what I am looking for

Thanks

Venkat
Re: Does eclipse has a feature of auto usage finder on selecting a part of code ? [message #549481 is a reply to message #549463] Mon, 26 July 2010 15:04 Go to previous messageGo to next message
Eclipse UserFriend
On 7/26/2010 11:12 AM, venkat_walking@yahoo.co.in wrote:
> Hi all,
>
> I am new to eclipse shifted from netbeans. Does eclipse has a feature f
> auto usage finder on selecting a part of code ?
>
> Say I create a simple java file helloWorld.java.
> In that i create and use variable int abc 10 times.
>
> What I want is As soon I click or select the variable abc in the code it
> other multiple usages should be highlited by some fill color and it
> should also be shown in side column bar as it does for showing error
> messages
>
> I dont want to click CTLR+F for doing this.
> This feature is there in netbeans.
>
> I hope u understand what I am looking for
>
> Thanks
>
> Venkat

Something like this. Among other options, if you double-click an
identifier, all other occurrences of it are color-filled highlighted in
the editor and, if your contract/brightness/color settings are adequate
for your monitor, down the right-hand side there will be markers you can
click to go to occurrences.
Re: Does eclipse has a feature of auto usage finder on selecting a part of code ? [message #549485 is a reply to message #549481] Mon, 26 July 2010 15:32 Go to previous message
Eclipse UserFriend
Thnaks for replying Russell Bateman,

I figured out myself.here what I did may be useful someone else.


http://img839.imageshack.us/img839/8838/eclipsesearch.jpg


In my eclipse that option was not checked hence all other occurrences were not highlighted

Thanks once again

Venkat

[Updated on: Mon, 26 July 2010 15:35] by Moderator

Previous Topic:log4j.xml not copied to build folder
Next Topic:Localizing tags in html
Goto Forum:
  


Current Time: Mon Jul 07 20:50:07 EDT 2025

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

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

Back to the top