Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:12 Go to next message
Venkattesh B is currently offline Venkattesh BFriend
Messages: 6
Registered: July 2010
Junior Member
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 19:04 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 19:32 Go to previous message
Venkattesh B is currently offline Venkattesh BFriend
Messages: 6
Registered: July 2010
Junior Member
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 19:35]

Report message to a moderator

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


Current Time: Tue Mar 19 04:53:01 GMT 2024

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

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

Back to the top