Home » Newcomers » Newcomers » Browsing search results is not synced (Linked) to Project Explorer
Browsing search results is not synced (Linked) to Project Explorer [message #661157] |
Wed, 23 March 2011 12:08  |
David Balažic Messages: 129 Registered: July 2009 |
Senior Member |
|
|
Hi!
Using latest Helios SR-2 Java EE, I noticed, that when going through search results, the opened file in the editor is not linked with its icon in the Project explorer.
- open dialog Search / File... and search for some content
- in the results view (Search) , click the next Show Next Match button (down arrow)
As you click it and go through different files, they open in the editor, but the Project view does not change.
It helps, if I open another, unrelated file in editor, the select again the search result file in editor (by clicking on its tab). Then the Project view is updated properly.
Is this a known bug?
I am not sure under which component to file it.
Regards,
David
|
|
| | | |
Re: Browsing search results is not synced (Linked) to Project Explorer [message #661305 is a reply to message #661157] |
Thu, 24 March 2011 06:48   |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
On 23.03.2011 13:08, David Balažic wrote:
> Hi!
>
> Using latest Helios SR-2 Java EE, I noticed, that when going through
> search results, the opened file in the editor is not linked with its
> icon in the Project explorer.
>
> - open dialog Search / File... and search for some content
> - in the results view (Search) , click the next Show Next Match button
> (down arrow)
> As you click it and go through different files, they open in the
> editor, but the Project view does not change.
>
> It helps, if I open another, unrelated file in editor, the select
> again the search result file in editor (by clicking on its tab). Then
> the Project view is updated properly.
>
>
> Is this a known bug?
When you step through the results the Search view stays active, so that
you can continue stepping to the next/previous result. Because the
Project and Package explorers only track the active editor, they don't
update while stepping through. You can reveal the element(s) directly in
the explorers using 'Show In' from the Search view's context menu.
Dani
> I am not sure under which component to file it.
>
> Regards,
> David
|
|
|
Re: Browsing search results is not synced (Linked) to Project Explorer [message #661342 is a reply to message #661305] |
Thu, 24 March 2011 10:31   |
David Balažic Messages: 129 Registered: July 2009 |
Senior Member |
|
|
Dani Megert wrote on Thu, 24 March 2011 07:48 | On 23.03.2011 13:08, David Balažic wrote:
When you step through the results the Search view stays active, so that
you can continue stepping to the next/previous result. Because the
Project and Package explorers only track the active editor, they don't
update while stepping through.
|
Yes, although I disagree with this behavior.
If I click inside the editor, the Project explorer updates.
But there are some cases, when even this does not work.
I think it happens with some project in my workspace.
If there are search matches in project1, clicking in the editor (text area) makes the Project exlorer sync to the open file.
But when I click through search results until a file that is in project2 is opened, this does not work any more.
If I select another open tab in editor (which is properly synced) then back the the matched file, it it is not synced.
Then I open a file in the same directory (Java Resources...), then finally the problematic editor gets linked properly.
There is definitely something odd going on.
Regards,
David
|
|
|
Re: Browsing search results is not synced (Linked) to Project Explorer [message #661360 is a reply to message #661342] |
Thu, 24 March 2011 11:27   |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
On 24.03.2011 11:31, David Balažic wrote:
> Dani Megert wrote on Thu, 24 March 2011 07:48
>> On 23.03.2011 13:08, David Balažic wrote:
>> When you step through the results the Search view stays active, so
>> that you can continue stepping to the next/previous result. Because
>> the Project and Package explorers only track the active editor, they
>> don't update while stepping through.
>
>
> Yes, although I disagree with this behavior.
>
> If I click inside the editor, the Project explorer updates.
>
> But there are some cases, when even this does not work.
> I think it happens with some project in my workspace.
> If there are search matches in project1, clicking in the editor (text
> area) makes the Project exlorer sync to the open file.
> But when I click through search results until a file that is in
> project2 is opened, this does not work any more.
> If I select another open tab in editor (which is properly synced) then
> back the the matched file, it it is not synced.
> Then I open a file in the same directory (Java Resources...), then
> finally the problematic editor gets linked properly.
>
> There is definitely something odd going on.
Yes that sounds strange. It would be great if you could find
reproducible steps and file them against Platform UI.
Dani
>
> Regards,
> David
>
|
|
| |
Goto Forum:
Current Time: Tue Mar 28 22:52:22 GMT 2023
Powered by FUDForum. Page generated in 0.02926 seconds
|