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 75551 - New File Wizard (second step): package field should be filled with selected package name by default
Summary: New File Wizard (second step): package field should be filled with selected p...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 13:17 UTC by Alexander Ioffe
Modified: 2010-05-11 18:23 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 Alexander Ioffe 2006-04-26 13:17:26 UTC
Create New Application project.
Select any of "Source Files", "Header Files", "Resourse Files" in project tree view.
Invoke New File Wizard dialog, by any method (via Popup menu, via Main menu or
via  Toolbar).
Choose any file type, click next.
The selected (in project tree view) package should be typed in 'package' field
by default.
Comment 1 Thomas Preisler 2006-04-27 05:59:49 UTC
It is actually not a bug. Source Files and Header Files are logical folders and
the Folder in the Name and Location panel in the New File Wizard refers to a
physical folder where the file will be created. If you right click Source Files
and create a new file, it will physically be created in the folder you specify
in the Folder field but appear in the Source Files logical folder. They are two
independent things.
Comment 2 Thomas Preisler 2006-04-27 17:58:31 UTC
Thomas Preisler wrote:
> yes, you should, but the New File Wizard is a standard NB component 
> shared by all project types and not all project types have a concept of 
> a logical folder making these kind of changes difficult get accepted. I 
> think I will re-open your iz and it may get fixed one day.
> 
> Thanks for you comments.
> 
> --thomas
> 
> Alexander Ioffe wrote:
>> OK, I understand. But may be it would be usefull to have a combobox 
>> (or a text field) for choosing logical folder in New File Wizard.
>> Why I can choose project< physical folder, but can not choose logical 
>> folder?
Comment 3 Thomas Preisler 2008-11-17 23:59:22 UTC
not for 7.0
Comment 4 Thomas Preisler 2008-11-18 21:00:22 UTC
next
Comment 5 Alexey Vladykin 2010-05-11 18:23:05 UTC
There is no "Package" field in our file wizards. Packages are not applicable to C/C++ code.