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 238593

Summary: Missing option to complete > of HTML tag
Product: web Reporter: ssazonov
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: c69, jiriprox
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: img

Description ssazonov 2013-11-20 09:37:56 UTC
1. Create HTML5 Application

2. Open created *.html file and type "<br" at approprita place (pop-up menu is automatically shown up with preselected tag "<br>")

3. Press enter

>> pop-up is hiden, but tag doesn't completed

>> try to double-click the "<br>" tag in pop-up menu instead of pressing enter - it also doesn't work

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 ssazonov 2013-11-20 09:43:35 UTC
Created attachment 142389 [details]
img
Comment 2 Vladimir Riha 2013-11-20 10:26:48 UTC
It works like this for quite some time because it allows to add attribute:

 - e.g. type

<di

 - in completion, focus "div" and press enter (or double click on completion suggestion)
 - press Space

=> you get completion for HTML attributes, and after typing >, cc offers closing HTML tag, if any.

But it is true that it could be useful in some cases if the ">" would be completed as well. Perhaps with a bit different shortcut or via some option in completion settings for HTML.

As for the help window, the same goes with Java completion, so feel free to file it against ?editor product ?
Comment 3 ssazonov 2013-11-20 11:05:12 UTC
Ok, thanks for explanation
Comment 4 Vladimir Riha 2014-02-16 21:22:34 UTC
*** Bug 241936 has been marked as a duplicate of this bug. ***