Bug 179886 - Most generaly-purpose and commonly needed templates are non-optimally ordered
Most generaly-purpose and commonly needed templates are non-optimally ordered
Status: NEW
Product: projects
Classification: Unclassified
Component: Generic Infrastructure
6.x
PC All
: P3 (vote)
: TBD
Assigned To: Milos Kleint
issues@projects
: UI, UI_REVIEW
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-26 20:27 UTC by _ tboudreau
Modified: 2013-03-14 16:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo