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 178090 - Improve UI when there are opened files in editor with the same name
Summary: Improve UI when there are opened files in editor with the same name
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal with 10 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 190314 190790 (view as bug list)
Depends on: 178094 154508 178091 178093
Blocks:
  Show dependency tree
 
Reported: 2009-12-03 09:23 UTC by Petr Pisl
Modified: 2013-11-01 21:43 UTC (History)
5 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2009-12-03 09:23:59 UTC
In web development is very common case, when the sources are organized to the folders and every folder has the same files like index.html, success.php, error.php etc. Then you need to have open many files in the editor with the same names and it's very hard to navigate and find the right file in the editor. This task should be umbrella for issues that could help the usability in such case.
Comment 1 bobuse 2009-12-04 08:55:24 UTC
Issue related with #154508
Comment 2 tprochazka 2009-12-06 05:11:24 UTC
Also Issue #155833 is related to this umbrella.
Comment 3 Jesse Glick 2010-09-20 22:41:44 UTC
*** Bug 190314 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2011-07-28 20:09:07 UTC
*** Bug 190790 has been marked as a duplicate of this bug. ***
Comment 5 anacreo 2011-11-08 19:55:28 UTC
A simple fix would be if two files had a naming conflict then to show the directory path before the file name in the tab, and keep going backwards until there is no conflict.

It would also be helpful to have a setting to always show X number of directory levels backwards in the tab.

Something to the effect of:

main.phtml | data/index.phtml | contacts/index.html

But if you set it to always show three levels deep (up to the base path of the project, obviously):

applications/layouts/main.phtml | scripts/data/index.phtml | scripts/contacts/index.html

This would definitely be safer for those of us working with Zend_Framework using NetBeans.
Comment 6 monk.e.boy 2011-11-09 10:05:32 UTC
Maybe tabs are the wrong thing to use to switch between each editor? Thumbnail screen shots?

Could we choose to make the tabs a different colour depending on some regex + the full path of the file. Then my 'admin' pages (project/application/modules/admin/*) could all be pink? This would add information to the tab without needing the tab to become 400 characters long.

Could you add icons to the tab depending on some regex? (so they end up looking like the tabs in Firefox):

project/application/modules/admin/views/ --> has 'admin' add an admin icon, also contains 'views' show a view icon.

project/application/modules/default/views/ --> just show a view icon

cheers,

monk.e.boy
Comment 7 markiewb 2013-11-01 21:43:24 UTC
@saubrecht: I guess this can be fixed in core.multitabs/org.netbeans.core.multitabs.impl.FolderNameTabDecorator