Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Search result view like as grep
Search result view like as grep [message #987620] Tue, 27 November 2012 10:50 Go to next message
kei kobayashi is currently offline kei kobayashiFriend
Messages: 3
Registered: November 2012
Junior Member
I use Eclipse 4.2.1.

I think search result view has too many items that indicates folder, file and its text line.
I'm tired for expanding or collapsing items and scrolling long distance.
I hope more simple view; for example, like as search result of grep or Visual Studio.
They have few lines but provide much information at once view.
Is there any way for using so simple search result view?

---- Default tree view ----
project
- src
  - foo.cpp
    - [5]  printf("bar\n");
    - [23] printf("barbar\n");
  - foo.h
    - [1]  void bar();

---- Hoped simple view ----
project/src/foo.cpp [5]  printf("bar\n");
project/src/foo.cpp [23] printf("barbar\n");
project/src/foo.h [1]    void bar();
Re: Search result view like as grep [message #987627 is a reply to message #987620] Tue, 27 November 2012 11:08 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
On 27.11.2012 11:50, kei kobayashi wrote:
> I use Eclipse 4.2.1.
>
> I think search result view has too many items that indicates folder,
> file and its text line.
> I'm tired for expanding or collapsing items and scrolling long distance.
> I hope more simple view; for example, like as search result of grep or
> Visual Studio.
> They have few lines but provide much information at once view.
> Is there any way for using so simple search result view?

It looks like this is a C(++) search result. For text and Java Search
you can switch from a tree view to a list view via view menu (the
triangle at the top-right of the Search view).

Dani
>
>
> ---- Default tree view ----
> project
> - src
> - foo.cpp
> - [5] printf("bar\n");
> - [23] printf("barbar\n");
> - foo.h
> - [1] void bar();
>
>
> ---- Hoped simple view ----
> project/src/foo.cpp [5] printf("bar\n");
> project/src/foo.cpp [23] printf("barbar\n");
> project/src/foo.h [1] void bar();
>
Re: Search result view like as grep [message #987636 is a reply to message #987627] Tue, 27 November 2012 11:44 Go to previous message
kei kobayashi is currently offline kei kobayashiFriend
Messages: 3
Registered: November 2012
Junior Member
Thanks for replying,

I used some Eclipse for each languages.
Search result views seem to be same look.

Actually, I noticed a list mode of search view.
But it provides too few information that indicates only matching summary.
I hope to view not summary but real text lines.

---- Hoped simple view ----
project/src/foo.cpp [5] printf("bar\n");
project/src/foo.cpp [23] printf("barbar\n");
project/src/foo.h [1] void bar();

---- Actual list view (It's only a summary.) ----
project/src/foo.cpp (2 matches)
project/src/foo.h (1 matches)
Previous Topic:Eclipse and BIRT
Next Topic:Using Eclipse
Goto Forum:
  


Current Time: Mon Nov 24 03:12:37 GMT 2014

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

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