Bug 216610 - [CommonNavigator] Allow Project Explorer to auto-collapse folders when moving between files in different folders
Summary: [CommonNavigator] Allow Project Explorer to auto-collapse folders when moving...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 11:35 EST by Chris Grey CLA
Modified: 2023-01-05 05:25 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Grey CLA 2008-01-25 11:35:23 EST
Build ID: M20071023-1652

More information:
This is a feature request that came out of what I thought was a bug (216578). 

The feature request is to give the user the option to auto-collapse folders as you move between opened files that are in different directories. 

By default, Eclipse has the "Link Open Editors in Navigator" option off by default. Personally, I think this should be turned ON by default and disabled if a user finds it annoying. However what makes this feature annoying is that it leaves opened folders all over the place which makes navigating up and down the tree structure confusing. So to solve that problem, but still allow Project Explorer to indicate the current location of a selected file, simply collapse the paths that don't have focus so there's only 1 path that's ever fully expanded at any given time. 

Users, of course, could manually reopen folders that auto-collapsed OR turn the feature off. 

If the feature request is still not clear, read through the dialoge of Bug 216578 for more detail.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:07:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Steffen Brüntjen CLA 2023-01-05 05:25:03 EST
Here's how I use the link-project-view-with-editor feature:

  1. click 'collapse all'
  2. click 'link with Editor'
  3. click 'unlink with Editor'

I'd propose this:

  1. add "expand all" (for smaller projects)
  2. add "follow editor" (like link-with-editor, but collapses all other trees)

I also suggest making "follow editor" the default.