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 239214 - When two file names match, show previous directory in tab name.
Summary: When two file names match, show previous directory in tab name.
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3.1
Hardware: Macintosh Mac OS X
: P3 normal with 2 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-06 22:30 UTC by arian
Modified: 2013-12-17 10:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arian 2013-12-06 22:30:13 UTC
If I have three files open in Netbeans it only shows the file name in the tab bar, which is what it is supposed to do.

For example: index.php | header.php | footer.php

That is fine and perfect! However, when you are working with files with the same name, lets say index.php because I am sure everyone has more than one index.php file.

It would show up with two index.php tabs, which does not help the user distinguish the differences between the two files.

For example: index.php | index.php | header.php | footer.php


The index.php files are in different directories... so they should reflect the directories in the tab name. The directories should only show up, if you have two matching file names open at the same time. 

The directory should only show on level up.

For example: htdocs/index.php | admin/index.php | header.php | footer.php


If Netbeans had something like that, it would prevent so much confusion between same file names, especially because index.php, header.php and footer.php are such common file names. This would increase workflow dramatically!

In a case where you have a index.php file at the root directory, it should show as something like this:

For example: /index.php | admin/index.php | header.php | footer.php
Comment 1 Stanislav Aubrecht 2013-12-17 10:03:00 UTC
See menu Tools - Options - Miscellaneous - Windows - Show parent folder in tab title