This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 178094 - Provide file navigator bar
Summary: Provide file navigator bar
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Tomas Stupka
: 155833 189294 227331 (view as bug list)
Depends on:
Blocks: 178090
  Show dependency tree
Reported: 2009-12-03 10:40 UTC by Petr Pisl
Modified: 2014-05-12 13:09 UTC (History)
6 users (show)

See Also:
Exception Reporter:

The navigation bar in JIdea. (8.26 KB, image/png)
2009-12-03 10:41 UTC, Petr Pisl
Navigation bar with opened popup window (28.41 KB, image/png)
2009-12-03 10:46 UTC, Petr Pisl
Screenshot of the IDE, where are two levels of folders displayed in the edtir tab. (76.17 KB, image/png)
2009-12-04 04:31 UTC, Petr Pisl

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2009-12-03 10:40:17 UTC
The issue is motivated with issue #178090.

When you have open a few files with the same name in the editor, then it's not possible to simply recognized, which file is currently edited. You can use mouse and place pointer over the editor tab and wait for a while for the tooltip, where the path of the file is displayed, but this approach is not very productive. Especially when you don't use mouse. The problem can be solved via fixing issue #178091, but it can be also solved vie a navigator bar. 

See the attached screenshot how it's implemented in JIdea. 

Basically it should be a toolbar which displays the path of the current edited file. It should be path from project, not the filesystem path. Or it should be configurable. The simple folder in the bar should be active and when user will click on a folder name then a popup window should be displayed  with all files and folders inside the selected folder. User then can quickly select a file from the popup window and this file will be open in the editor. If user selects a folder instead of a file, then the navigation bar is updated with the new folder and new popup window is opened with the content of the selected folder, where user can select a file or a folder again.
Comment 1 Petr Pisl 2009-12-03 10:41:32 UTC
Created attachment 92058 [details]
The navigation bar in JIdea.

The navigation bar corresponds with the project path of the currently edited file.
Comment 2 Petr Pisl 2009-12-03 10:43:28 UTC
Hanz was willing to implement it:)
Comment 3 Petr Pisl 2009-12-03 10:46:15 UTC
Created attachment 92059 [details]
Navigation bar with opened popup window
Comment 4 Jesse Glick 2009-12-03 15:32:21 UTC
Wouldn't it be simpler to show the file path in the status bar for a couple seconds after you switch to it? Then you do not need this special toolbar on your screen permanently. (Ctrl-Tab already does this BTW.)
Comment 5 Petr Pisl 2009-12-04 01:58:51 UTC
This toolbar can be switch off and probably by default will be. It's one of the way how to solve the situation for web developers. On the other hand I talked with some java developers and they would like to use it as well. 

CTRL-TAB is described in the issue #178093 and displaying the path in the IDE statusbar is not very useful. Many people even don't notice this, because they are concentrating on the window with the list of opened files.
Comment 6 Petr Dvorak 2009-12-04 03:57:20 UTC
OK, so basically this navigation bar will duplicate the view that you see in the projects view when "Synchronize views with editor" is turned on (except for it won't be the tree but linear structure), is that correct?

Note that this RFE does not help with issue 178090 at all - the nav bar displays the patch for the current file...

Generally, I do not like duplicating functionality on 10000 places, even if the new place is more discoverable... It just makes the UI bloated.
Comment 7 Petr Pisl 2009-12-04 04:30:09 UTC
It's not exactly duplication of project view, because it reflects the path for the edited file without Synchronize views with Editor has to be switch on. I don't think that the navigation bar should switch on by default.

I think that this issue together with issue #178093 can help a lot. User always will see, which file is currently modified and when he need to switch to another one, then she will see it in the popup window that is displayed after pressing CTRL+TAB.

Yesterday I did a change in the code, which displays the path of the file(or a part of the path) in the editor tab. The solution doesn't help very much as well, because the tabs are wide and use can see only few of them. For the rest she has to use CTR+TAB. I can publish the jar on the blog, if there will be interest to try it. I attach the screenshot of this experiment.
Comment 8 Petr Pisl 2009-12-04 04:31:42 UTC
Created attachment 92095 [details]
Screenshot of the IDE, where are two levels of folders displayed in the edtir tab.
Comment 9 Jesse Glick 2009-12-04 08:58:25 UTC
Another thought: display the full file path in the main window's title bar, instead of / in addition to the name of the owning project.
Comment 10 tprochazka 2009-12-14 22:43:40 UTC
Use main window's title bar it's very good and fast way (I think). Use navigation bar like IDEA has, is mostly bonus feature only, but may be useful.
Comment 11 Jesse Glick 2010-01-14 08:20:12 UTC
*** Bug 155833 has been marked as a duplicate of this bug. ***
Comment 12 Jesse Glick 2010-08-09 17:32:25 UTC
*** Bug 189294 has been marked as a duplicate of this bug. ***
Comment 13 markiewb 2013-03-31 17:38:13 UTC
*** Bug 227331 has been marked as a duplicate of this bug. ***