Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse IDE - search for whole words only
Eclipse IDE - search for whole words only [message #317477] Wed, 04 July 2007 09:57 Go to next message
Eclipse UserFriend
Originally posted by: f.leh294.chat4world.com

Hi newsgroup,

I wonder whether it's possible in the Eclipse IDE to search for whole words only.
E.g., when I am searching for 'File' then I don't want 'FileStream' and the like
in the search result. None of the search functions seems to offer this feature.

Thanks to all who want to help.

Regards,
Frank
Re: Eclipse IDE - search for whole words only [message #317483 is a reply to message #317477] Wed, 04 July 2007 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Frank Lehmann wrote:

>Hi newsgroup,
>
>I wonder whether it's possible in the Eclipse IDE to search for whole words only.
>E.g., when I am searching for 'File' then I don't want 'FileStream' and the like
>in the search result. None of the search functions seems to offer this feature.
>
>
Simply use a regular expression. Use content assist if you don't know
which detects word boundaries.

Dani

>Thanks to all who want to help.
>
>Regards,
>Frank
>
>
Re: Eclipse IDE - search for whole words only [message #317491 is a reply to message #317483] Thu, 05 July 2007 02:46 Go to previous message
Eclipse UserFriend
Originally posted by: f.leh294.chat4world.com

Hi Daniel,

Thanks for the reference to regular expressions.
To search for whole words, it's \bword\b and it works perfectly.

Regards,
Frank


"Daniel Megert" <daniel_megert@ch.ibm.com> schrieb im Newsbeitrag
news:f6gfog$i6e$1@build.eclipse.org...
> Frank Lehmann wrote:
>
> >Hi newsgroup,
> >
> >I wonder whether it's possible in the Eclipse IDE to search for whole words only.
> >E.g., when I am searching for 'File' then I don't want 'FileStream' and the like
> >in the search result. None of the search functions seems to offer this feature.
> >
> >
> Simply use a regular expression. Use content assist if you don't know
> which detects word boundaries.
>
> Dani
>
> >Thanks to all who want to help.
> >
> >Regards,
> >Frank
Previous Topic:[PDE] Doing JUnit tests in an OSGi Environment?
Next Topic:How to remove un-used menu items in the popup menu of Resource Navigator
Goto Forum:
  


Current Time: Thu May 08 08:03:03 EDT 2025

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

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

Back to the top