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.
When an user is working on a webmodule project the create from template action is used qite often. So it would be nice to have the new from template menu 'webmodule specific'. Now the user have to invoke the popup menu and choose 'All Templates' then 'JSPs & Servlets' (and perhabs JSPs) to choose the desired object type. In my opinion it could be very helpful if the basic objects like servlet and JSP are present directly in the popup menu (like Java class) by default. Another feature which seems to be to be handy is expanded JSPs & Servlets folder by default when user is trying to create an object in a webmodule. It's quite clear that implementing this features can cause some UI or usability problems, so take this issues as a topic for discussion.
Hi Mark, I agree it's hard to use the templates (the fact that the four last template types are listed on the menu doesn't help a lot - it seems that for web apps you use a lot more file types than that!). Perhaps that number is configurable though. It seems like as soon as you start using the wizards a lot, you get frustrated :) I filed http://www.netbeans.org/issues/show_bug.cgi? id=39839 in an attempt to avoid having to scroll down the tree pane on the main wizard panel also. I assume that something like this could be part of the web project representation.
Hi Ana, It's an interesting idea to have the groups of tempates in form of tabs - I like it! :-). Anyway the some what I described applies for this approach. When the user uses popup menu on a node which resides underneeth a webmodule (classes, documents root or the WEB-INF filder) the group of templates would be selected - in your case it would mean that the tab with webapps templates would be selected. Ana, I have been using the wizards for quite a long time, and I have never been frustrated for in my opinion they are cool (especially the your one ;-) ). I just want to make it little better. Not because of me - I am a kind developer who do not uses all of the customizers and supports so much, and like to do the nasty bussiness directly :-). You mentioned the last used templates - they are very usefull, but I was thinking about a special part of the popup (maybe the place between 'All Templates' and the last used (where is for example the Java class DO template) and the variable part. So it would like this (when user invokes the menu in a webmodule): +---------------------+ | All Templates | +---------------------+ | JSP | | Servlet | | <maybe some others> | +---------------------+ | Java class | + .... | +---------------------+ + <the last used part>| +---------------------+ great, isn't it? ;-). [joking] - I know - it's rather an issue for the whole netbeans then for the webmpodule. Thaks for you comment. By the way, my name is Marek, not Mark.
I really do not understand why my comments are not wrapped ????
I apologize for getting your name wrong - must have been typing too fast :) I maybe exaggerrated a little with the wizards - it's just that you have to type new, then scroll down the tree every time. And I use more than four types of objects so I'd like it to remember about ten :) Anyway, there are a lot of little improvements that could be done, for sure...
It has been implemented by NB4.0 infrastructure. New from template is project type specific.
verified