Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » More context for search results?(How can I display multiple lines of context around search results?)
More context for search results? [message #900414] Mon, 06 August 2012 22:50 Go to next message
Jesse Weinstein is currently offline Jesse WeinsteinFriend
Messages: 44
Registered: July 2012
Member
How can I display multiple lines of context around search results, like doing the -C option to `grep` gives me?

i.e. when I use Ctrl-Shift-G to look up the references to a method, then click the Expand All button, it only shows me the matching lines -- I want to see the line *before* the matching line, too.
Re: More context for search results? [message #900450 is a reply to message #900414] Tue, 07 August 2012 07:20 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
On 07.08.2012 00:50, Jesse Weinstein wrote:
> How can I display multiple lines of context around search results,
> like doing the -C option to `grep` gives me?
>
> i.e. when I use Ctrl-Shift-G to look up the references to a method,
> then click the Expand All button, it only shows me the matching lines
> -- I want to see the line *before* the matching line, too.
This is currently not possible. There's already an enhancement request
for this in bugzilla.

Dani
Re: More context for search results? [message #900598 is a reply to message #900450] Tue, 07 August 2012 17:03 Go to previous messageGo to next message
Jesse Weinstein is currently offline Jesse WeinsteinFriend
Messages: 44
Registered: July 2012
Member
I tried to find the bugzilla request you mentioned, using search terms like "search context" and "search grep", without success. Can you suggest some better terms I might use to find it? I'd like to see what its current status is.
Re: More context for search results? [message #900936 is a reply to message #900598] Thu, 09 August 2012 07:18 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
On 07.08.2012 19:03, Jesse Weinstein wrote:
> I tried to find the bugzilla request you mentioned, using search terms
> like "search context" and "search grep", without success. Can you
> suggest some better terms I might use to find it? I'd like to see what
> its current status is.
Sorry, actually, the existing request is for showing the line (and line
number), but not additional/multiple lines. Doing this in the current
Search view would be quite tricky and not something we would invest time
to work on.

Dani
Previous Topic:Content assist for libraries
Next Topic:How to get plugins and pluglets in new projects menu?
Goto Forum:
  


Current Time: Mon Nov 24 12:41:52 GMT 2014

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

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