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.
[ BUILD # : beta 2 ] [ JDK VERSION : 1.4.2_xx ] Steps to reproduce: 1. Create two Ant build files, one named build.xml and the other named test.xml; 2. Give a different project name for both of them; 3. With the editor selected, do a CTRL+TAB The project name for the build.xml file is shown in [], but the same behaviour does not apply to the test.xml file.
Intentionally; the project name is only displayed for files named "build.xml", since this filename is so common for Ant scripts that they would otherwise be indistinguishable in the editor.
I understand this might be designed, but I have a valid use case for making it the default behaviour. I am using Ant's import facilities in all my build script files. Therefore, there are several master_build.xml/build.xml files in my projects, though there are less files named master_build.xml. When I have more than one of them open in the editor, they are impossible to distinguish by their name. That was my motivation for filing this issue. Is there any chance this behaviour could be changed?
No plans to change it, since I don't see any obvious way to decide what is a "generic enough" Ant build script name, and it may be undesirable to have the project name pollute the editor tabs for even those scripts which are already distinctively named. No other file type includes additional information of this kind in editor tab names; an exception was made just for build.xml files. Workarounds: Shift-F4 to see paths; Ctrl-Tab might do it too, not sure. No changes possible for 5.0.
Probably unnecessary.