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 145616

Summary: New > "Empty C/C++ file" menu item name is inconsistent
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: -- Other --Assignee: Vladimir Kvashin <vkvashin>
Status: VERIFIED FIXED    
Severity: blocker CC: sdoubrava
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Kvashin 2008-08-29 18:58:39 UTC
In New submenu of the project explorer context menu, there are items
- Empty C++ File  
- C++ Header file
- Empty C File
- C Header File

Each time I select one of these items, I feel some discomfort: 
there are obvious two pairs: (C++ header, C++ source) and (C header, C source).
But menu item names do not reflect this.
I believe much more usable variant is 

- C++ Source File  
- C++ Header file
- C Source C File
- C Header File
Comment 1 Vladimir Kvashin 2008-08-29 19:00:36 UTC
Stepan, could you please comment on this.

Comment 2 Stepan Doubrava 2008-09-03 12:01:35 UTC
Hi Vladimir ... Absolutely. 

I believe most projects are in either C or C++ and having the language at the beginning of the string makes the
selection easier. The word "Empty" makes user think what it means and how different is it from plain "C++ Source file".

I'm not sure if this is part of your proposal, but I like that you don't consider having Main* files in the menu. Main
files are created mostly once per project and it would make more sense to have a check box in the creation of source
file (not polluting the menu with an action that is used only occasionally).
Comment 3 Vladimir Kvashin 2008-09-03 12:28:32 UTC
Removing "Main C file" ("Main C++ file") item wasn't part of my proposal.
But I would rather agree to keep these items only in Wizard, not in menu.
Comment 4 Vladimir Kvashin 2008-11-13 09:38:34 UTC
http://hg.netbeans.org/main/rev/9ce503cffad6
Comment 5 Quality Engineering 2008-11-13 16:24:54 UTC
Integrated into 'main-golden', will be available in build *200811131401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9ce503cffad6
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: #145616 New > "Empty C/C++ file" menu item name is inconsistent
Comment 6 dnikitin 2008-12-10 13:04:46 UTC
Verified in NetBeans IDE Dev (Build 200812030201)