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.
NetBeans IDE Dev (Build 200607161800) 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05 Windows XP version 5.1 running on x86 ================================================ Create a new blank jsp. Let me call it a.jsp . Enter this in to start a java code section (aka "scriplet"): <% Then you will be confronted with a pop-up suggesting <%@include ... %> <%@page ... %> <%@taglib... %> What about <% ... %> ? It might be I am too lazy to press the escape key. However, most and many a times, in the heat of the moment I press the space-bar unaware of the pop-up and then I have to ctrl-z to remove auto-complete's presumptuous choice for me. (Especially after two month's foray into Eclipse and finding it inadequate for my needs.) I'm sure this is an easy "bug/feature" to fix. Just add one more item to a pop- up list. Thank you.
Thanks for the report. AFAIK I already have such enhancement assigned to myself. However, I also noticed, that recently, during writing a scriptlet into a JSP page the jsp directives are autocompleted unintentionally and hence requires some extra effort to be deleted. I'll check this. As for the <% %> CC item as I said, there is already an issue (cannot find now) and moreover it is not that easy as it can seem to be to add it :-). Thank you.
The cause of the problem I described is very simple :-). If you type <% in the editor, after a very short time the CC is being displayed so it can happen that one types <% and then wants to create a new line so presses enter. But in the same moment, the CC appears so the enter keystroke goes to the CC instead of the editor pane and the first CC item (<%@page %>) is completed. This can be quite bothering though it happens not often. The problem will disappear once we have the <% %> item in the CC list. Marking this issue as duplicate of an older one with the same request. *** This issue has been marked as a duplicate of 49202 ***