Bug 178090

Summary: Improve UI when there are opened files in editor with the same name
Product: platform Reporter: Petr Pisl <ppisl>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW --- QA Contact: issues <issues.netbeans.org>
Priority: P2 CC: ithinkihaveacat, markiewb, melight, miket3, tprochazka
Version: 6.x   
Target Milestone: TBD   
Hardware: All   
OS: All   
Issue Type: TASK Exception Report:
Bug Depends on: 178094, 154508, 178091, 178093    
Bug Blocks:    

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


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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo