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 179886

Summary: Most generaly-purpose and commonly needed templates are non-optimally ordered
Product: projects Reporter: _ tboudreau <tboudreau>
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: UI
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2010-01-26 20:27:52 UTC
In years of coding for NetBeans, the three most common templates in the Other category I find Java projects need are, in order of need:
1.  Properties files (for any package that doesn't already have a resource bundle)
2.  Folder (setting up META-INF/services contents, extra dirs under the project root, working in Favorites)
3.  HTML file - Javadoc, writing other documentation
4.  Empty File - service definitions, template files that should not have their true extension inside the module sources

However, the ordering makes these hard to find - Properties is half-way down the list, empty file and folder require scrolling.  Yet obscure things like SVG, Spring configuration, JNLP configuration, YAML file, and rarely used things like Ant build script and Custom Ant Task are higher in the list.

I would suggest reordering these so that the first four items are in the order listed above;  after that probably,

Javascript File
Ruby File
CSS File

and the rest in whatever order is convenient.
Comment 1 Antonin Nebuzelsky 2010-03-29 14:11:35 UTC
Change of default owner.
Comment 2 _ tboudreau 2010-03-29 15:58:05 UTC
And possibly move Other to the top, not the bottom of the list of template categories - at any rate, some place that doesn't require scrolling.
Comment 3 Ondrej Langr 2010-03-31 12:45:09 UTC
Hi Tim .. 

how about alphabetical ordering? 

Would make locating any kind of file easy, not only 3 frequently used (frequency of use can be very individual, especially across various project types).
Comment 4 _ tboudreau 2013-03-14 16:04:25 UTC
> how about alphabetical ordering? 

That might work for things with obvious names;  but Folder and Empty File are special, since they're very often what somebody needs but they don't have standard names - someone would have to know what we call them.

So I can see the reasons for alphabetical, but in that case I'd special-case Folder and Empty File at the top, since those are the ones somebody needs to learn the names of, and they are very commonly needed (Empty File works for any file type so you don't have to go find the template)
Comment 5 Martin Balin 2016-07-07 08:38:18 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss