Skip to main content



      Home
Home » Newcomers » Newcomers » Searching through my project
Searching through my project [message #261042] Mon, 14 July 2008 11:43 Go to next message
Eclipse UserFriend
Hi, I have a properties file in my Java project open. I want to search
for instances of a property "MY_PROP" in my project, but when I highlight
"MY_PROP" and right click on it, I don't see a "References" sub-item as I
do with code snippets.

How do I search through my project for references to "MY_PROP"?

Thanks, - Dave
Re: Searching through my project [message #261050 is a reply to message #261042] Mon, 14 July 2008 11:59 Go to previous messageGo to next message
Eclipse UserFriend
Dave Alvarado wrote:
> Hi, I have a properties file in my Java project open. I want to
> search for instances of a property "MY_PROP" in my project, but when I
> highlight "MY_PROP" and right click on it, I don't see a "References"
> sub-item as I do with code snippets.
>
> How do I search through my project for references to "MY_PROP"?
Simply Ctrl+Click on the key. This will take you directly to the
location(s) where it is used. Alternatively you can perform a text
search (Ctr+H).

Dani
>
> Thanks, - Dave
>
Re: Searching through my project [message #261072 is a reply to message #261050] Mon, 14 July 2008 13:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: srikanth.m.mailcity.com

If I have to search within a file using Ctrl-K. By default eclipse does
not wrap the search and start from beginning.

Is there any option to enable this?

Thanks in advance.
Srikanth
Re: Searching through my project [message #261089 is a reply to message #261072] Mon, 14 July 2008 15:29 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

CTRL-K just redoes the last search as configured by CTRL-F. Whatever
settings you have there (regex, wrap, case sensitive) will be applied to
CTRL-K / CTRL-SHIFT-K.

Srikanth wrote:
>
> If I have to search within a file using Ctrl-K. By default eclipse does
> not wrap the search and start from beginning.
>
> Is there any option to enable this?
>
> Thanks in advance.
> Srikanth
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Previous Topic:Language Fragments in 3.3 or 3.4
Next Topic:Ant editor outline view support for ant-contrib?
Goto Forum:
  


Current Time: Sun Jul 20 13:13:11 EDT 2025

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

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

Back to the top