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 132023 - make "File" -> "New File" work with "favorites" tab
Summary: make "File" -> "New File" work with "favorites" tab
Status: RESOLVED DUPLICATE of bug 51978
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Milan Kubec
URL:
Keywords:
: 143046 (view as bug list)
Depends on:
Blocks: 135222
  Show dependency tree
 
Reported: 2008-04-04 10:26 UTC by kawazu428
Modified: 2010-03-01 09:18 UTC (History)
1 user (show)

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 kawazu428 2008-04-04 10:26:35 UTC
Situation:
- switched to "Favorites" view
- created a folder somewhere in one of my favorites (by using right-click -> "New" -> "folder")
- chose "File" -> "New File...", intending to create an empty HTML file right in that folder.

Outcome: The "New File" wizard appears, but showing me that the new file, no matter which kind, be created in the
project I used to work in before switching to "Favorites" rather than in the folder selected in "Favorites".

Expected behaviour: 
- Choosing "File" -> "New File" while in "Favorites" view should create the chosen file in the folder currently selected
in "Favorites" rather than in some project.
- "New File" wizard, in that case, should be limited to showing files that could be created outside of a project in a
meaningful way (XSD and most of the XML stuff, HTML, CSS, scripts, ...).
Comment 1 Jesse Glick 2008-08-20 17:11:44 UTC
Almost certainly a duplicate of an old issue but I cannot find it right now. In a nutshell: the current APIs permit
templates to be registered, with optional custom wizards, but provide no way for the template to indicate whether or not
it requires a project. Since some templates do in fact require a project, the New File wizard currently only permits
creation of files with an associated project.
Comment 2 Jesse Glick 2008-08-20 17:11:50 UTC
*** Issue 143046 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2010-03-01 09:18:56 UTC

*** This bug has been marked as a duplicate of bug 51978 ***