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.
Issue related with #154508
Also Issue #155833 is related to this umbrella.
*** Bug 190314 has been marked as a duplicate of this bug. ***
*** Bug 190790 has been marked as a duplicate of this bug. ***
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.
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
@saubrecht: I guess this can be fixed in core.multitabs/org.netbeans.core.multitabs.impl.FolderNameTabDecorator