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.
please remove them
At least the New File/Folder... action should be there, see the projects infra uispec.
Well, HIE may want to comment on this.
Reassigning to HIE. BTW the Eclipse 2.1 does exactli the same, it puts NFT action on files under the package.
this isn't a bug. see the inf spec http://projects.netbeans.org/uispecs/infrastructure/ProjectsInfrastructureUISpec.html#Menu_Guidelines
Chris, the link doesn't seem to describe the reason why we should have 'New File/Folder ...' action in popup menu on files.
to quote in line: 3.1.1 Context-Insensitive File/Folder Creation The main menubar has a new, context-insensitive menu item under File: "New File/Folder...". (Exact name TBD.) This menu item is always enabled. Selecting it brings up the New template with file and folder creation templates showing. If the New wizard asks for the current project, then it is filled in, using the current project if available and the default project if not. If more applicable information is available (e.g., current source directory) then that is added to the New wizard fields too.
Well, but the question was: why do we have 'New File/Folder ...' action in the _popup_ menu of nodes representing files? I understand why we have it in main menu and how it should behave, but on files it looks a bit inappropriate.
more from the spec: Finally, where sensible, pop-up menus have the same item. The only difference is that entire pages of the New wizard may be skipped (as needed), since the context has been specified by virtue of where the user right-clicked. Thus, no matter where the user turns and no matter what her context, she always has file and folder creation at her fingertips. the idea being that we offer the ability to create new files/folders from as many places as possible (within reason). i don't think it's that strange to have file creation from nodes within the explorer -it makes up for the deficiency that we don't have pop-up menus on explorer white space.
OK, thanks for explanation.
VERIFIED
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.
Reorganization of java component